From: john@jjdev.com (John de la Garza)
To: kernelnewbies@lists.kernelnewbies.org
Subject: kobject sample code
Date: Mon, 8 Dec 2014 21:20:58 -0500 [thread overview]
Message-ID: <20141209022056.GA12373@vega.jjdev.com> (raw)
I'm looking at samples/kobject/kobject-example.c
at line 39 foo is read:
sscanf(buf, "%du", &foo);
foo is an int so why is it read using %du not %d?
next reply other threads:[~2014-12-09 2:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-09 2:20 John de la Garza [this message]
2014-12-09 9:26 ` kobject sample code Paul Bolle
2014-12-13 18:01 ` John de la Garza
2014-12-17 21:31 ` Paul Bolle
2014-12-17 23:35 ` Rastislav Barlik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141209022056.GA12373@vega.jjdev.com \
--to=john@jjdev.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.