mirror of
https://github.com/sysprog21/lkmpg.git
synced 2024-11-22 04:54:20 +08:00
Merge pull request #274 from NOVBobLee/pr_patch2
Remove the redundant code
This commit is contained in:
commit
3203aa3ce5
|
@ -23,7 +23,7 @@ static ssize_t myvariable_store(struct kobject *kobj,
|
|||
struct kobj_attribute *attr, char *buf,
|
||||
size_t count)
|
||||
{
|
||||
sscanf(buf, "%du", &myvariable);
|
||||
sscanf(buf, "%d", &myvariable);
|
||||
return count;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user