summaryrefslogtreecommitdiff
path: root/src/udev/udev-event.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-04-13 15:08:55 +0200
committerKay Sievers <kay@vrfy.org>2012-04-13 15:10:12 +0200
commitb49d9b50cfd377f28de0886330ba7bbd231fb472 (patch)
tree19135b6b49048e05a884efa07454ee1728d094b4 /src/udev/udev-event.c
parent7ea07dcddafe573c699fc48171b57b912897e7e2 (diff)
udev: fix a few issues detected by the llvm static analyzer
Diffstat (limited to 'src/udev/udev-event.c')
-rw-r--r--src/udev/udev-event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c
index debda61eed..bea316c18e 100644
--- a/src/udev/udev-event.c
+++ b/src/udev/udev-event.c
@@ -715,8 +715,8 @@ int udev_event_spawn(struct udev_event *event,
log_debug("starting '%s'\n", cmd);
- err = spawn_exec(event, cmd, argv, envp, sigmask,
- outpipe[WRITE_END], errpipe[WRITE_END]);
+ spawn_exec(event, cmd, argv, envp, sigmask,
+ outpipe[WRITE_END], errpipe[WRITE_END]);
_exit(2 );
case -1: