chiark / gitweb /
"'/sbin/modprobe abnormal' exit" - also print program options
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 19 Dec 2008 23:03:53 +0000 (00:03 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 19 Dec 2008 23:03:53 +0000 (00:03 +0100)
udev/udev-util.c

index 271941b..3d5eb76 100644 (file)
@@ -444,7 +444,7 @@ int util_run_program(struct udev *udev, const char *command, char **envp,
                        if (WEXITSTATUS(status) != 0)
                                err = -1;
                } else {
-                       err(udev, "'%s' abnormal exit\n", argv[0]);
+                       err(udev, "'%s' abnormal exit\n", command);
                        err = -1;
                }
        }