We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2eadbb1 + 2a04a64 commit 3203aa3Copy full SHA for 3203aa3
examples/hello-sysfs.c
@@ -23,7 +23,7 @@ static ssize_t myvariable_store(struct kobject *kobj,
23
struct kobj_attribute *attr, char *buf,
24
size_t count)
25
{
26
- sscanf(buf, "%du", &myvariable);
+ sscanf(buf, "%d", &myvariable);
27
return count;
28
}
29
0 commit comments