kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* kobject sample code
@ 2014-12-09  2:20 John de la Garza
  2014-12-09  9:26 ` Paul Bolle
  0 siblings, 1 reply; 5+ messages in thread
From: John de la Garza @ 2014-12-09  2:20 UTC (permalink / raw)
  To: kernelnewbies

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?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-12-17 23:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-09  2:20 kobject sample code John de la Garza
2014-12-09  9:26 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).