[systemd-commits] src/udev

Kay Sievers kay at kemper.freedesktop.org
Thu Oct 25 15:36:47 PDT 2012


 src/udev/udev-builtin-kmod.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a9f4815da56b8efc519595c3d8a78fe064fa8d69
Author: Kay Sievers <kay at vrfy.org>
Date:   Fri Oct 26 00:28:23 2012 +0200

    udev: kmod - fix typo

diff --git a/src/udev/udev-builtin-kmod.c b/src/udev/udev-builtin-kmod.c
index 1df055b..aacdff8 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")) {



More information about the systemd-commits mailing list