summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-06-09 19:18:46 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-06-09 19:18:46 +0200
commit9b2e2d4a8a4007dc34e6979c985ee2ff24e5a9ca (patch)
treeae07af12591ac9eccfa0289d963199e4c0ee2480
parent1fdce2f39dd5be0a722d34866e8823c4760738f2 (diff)
fix typo in udev_utils_run.c
-rw-r--r--udev_utils_run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_utils_run.c b/udev_utils_run.c
index 8137ec1c66..1a92cddd8a 100644
--- a/udev_utils_run.c
+++ b/udev_utils_run.c
@@ -158,7 +158,7 @@ int run_program(const char *command, const char *subsystem,
close(errpipe[WRITE_END]);
}
execv(argv[0], argv);
- if ((errno == ENOENT) || (errno = ENOTDIR)) {
+ if (errno == ENOENT || errno == ENOTDIR) {
/* may be on a filesytem which is not mounted right now */
info("program '%s' not found", argv[0]);
} else {