]> err.no Git - systemd/commitdiff
udevadm: info - do not print ATTR{dev}==
authorKay Sievers <kay.sievers@vrfy.org>
Mon, 28 Apr 2008 03:07:47 +0000 (05:07 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 28 Apr 2008 03:07:47 +0000 (05:07 +0200)
udevinfo.c

index a0d6cac401629d76fee701b4f6aa9f9486c8e3a6..b8e97c40746ddb051c3dfa2725a8254ad77f1f33 100644 (file)
@@ -54,6 +54,8 @@ static void print_all_attributes(const char *devpath, const char *key)
 
                        if (strcmp(dent->d_name, "uevent") == 0)
                                continue;
+                       if (strcmp(dent->d_name, "dev") == 0)
+                               continue;
 
                        strlcpy(filename, path, sizeof(filename));
                        strlcat(filename, "/", sizeof(filename));