projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IPIP]: Make the fallback tunnel device per-net.
[deliverable/linux.git]
/
lib
/
kobject_uevent.c
diff --git
a/lib/kobject_uevent.c
b/lib/kobject_uevent.c
index b06185ed18959941de78c299ce3a8aaac44a2cb2..9fb6b86cf6b15970ede185e8233a975dd4049d8a 100644
(file)
--- a/
lib/kobject_uevent.c
+++ b/
lib/kobject_uevent.c
@@
-57,7
+57,7
@@
int kobject_action_type(const char *buf, size_t count,
enum kobject_action action;
int ret = -EINVAL;
- if (count &&
buf[count-1] == '\n'
)
+ if (count &&
(buf[count-1] == '\n' || buf[count-1] == '\0')
)
count--;
if (!count)
This page took
0.029688 seconds
and
5
git commands to generate.