From 4c46d72a93409860aea84242f4dcbe37b2afab19 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Mon, 28 Apr 2008 05:07:47 +0200 Subject: udevadm: info - do not print ATTR{dev}== --- udevinfo.c | 2 ++ 1 file changed, 2 insertions(+) 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)); -- cgit v1.2.3-54-g00ecf