git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
drivers
/
input
/
input.c
diff --git
a/drivers/input/input.c
b/drivers/input/input.c
index
73b1741
..
416084b
100644
(file)
--- a/
drivers/input/input.c
+++ b/
drivers/input/input.c
@@
-369,7
+369,7
@@
static void input_call_hotplug(char *verb, struct input_dev *dev)
argv[0] = hotplug_path;
argv[1] = "input";
argv[0] = hotplug_path;
argv[1] = "input";
- argv[2] =
0
;
+ argv[2] =
NULL
;
envp[i++] = "HOME=/";
envp[i++] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin";
envp[i++] = "HOME=/";
envp[i++] = "PATH=/sbin:/bin:/usr/sbin:/usr/bin";
@@
-402,7
+402,7
@@
static void input_call_hotplug(char *verb, struct input_dev *dev)
SPRINTF_BIT_A2(sndbit, "SND=", SND_MAX, EV_SND);
SPRINTF_BIT_A2(ffbit, "FF=", FF_MAX, EV_FF);
SPRINTF_BIT_A2(sndbit, "SND=", SND_MAX, EV_SND);
SPRINTF_BIT_A2(ffbit, "FF=", FF_MAX, EV_FF);
- envp[i++] =
0
;
+ envp[i++] =
NULL
;
#ifdef INPUT_DEBUG
printk(KERN_DEBUG "input.c: calling %s %s [%s %s %s %s %s]\n",
#ifdef INPUT_DEBUG
printk(KERN_DEBUG "input.c: calling %s %s [%s %s %s %s %s]\n",