diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-04-28 05:07:47 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-04-28 05:07:47 +0200 |
commit | 4c46d72a93409860aea84242f4dcbe37b2afab19 (patch) | |
tree | dc46784e152be6459e97e6743774c1215f3d9930 | |
parent | 8b6e9f287d4ba774a12c023c2ef8fc78def29df8 (diff) |
udevadm: info - do not print ATTR{dev}==
-rw-r--r-- | udevinfo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/udevinfo.c b/udevinfo.c index a0d6cac401..b8e97c4074 100644 --- a/udevinfo.c +++ b/udevinfo.c @@ -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)); |