summaryrefslogtreecommitdiff
path: root/src/udev/udev-builtin-kmod.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-10-26 00:28:23 +0200
committerKay Sievers <kay@vrfy.org>2012-10-26 00:36:32 +0200
commita9f4815da56b8efc519595c3d8a78fe064fa8d69 (patch)
tree7ef7218afac55a1a8594f3b05aae00ac8a356da7 /src/udev/udev-builtin-kmod.c
parentbb31a4ac1997c189a344caf554f34c6aabc71aa7 (diff)
downloadsystemd-a9f4815da56b8efc519595c3d8a78fe064fa8d69.tar.gz
udev: kmod - fix typo
Diffstat (limited to 'src/udev/udev-builtin-kmod.c')
-rw-r--r--src/udev/udev-builtin-kmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-builtin-kmod.c b/src/udev/udev-builtin-kmod.c
index 1df055bea5..aacdff87b7 100644
--- a/src/udev/udev-builtin-kmod.c
+++ b/src/udev/udev-builtin-kmod.c
@@ -75,7 +75,7 @@ static int builtin_kmod(struct udev_device *dev, int argc, char *argv[], bool te
struct udev *udev = udev_device_get_udev(dev);
int i;
- if (ctx)
+ if (!ctx)
return 0;
if (argc < 3 || strcmp(argv[1], "load")) {