From 4c46d72a93409860aea84242f4dcbe37b2afab19 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Mon, 28 Apr 2008 05:07:47 +0200 Subject: [PATCH] udevadm: info - do not print ATTR{dev}== --- udevinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/udevinfo.c b/udevinfo.c index a0d6cac4..b8e97c40 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)); -- 2.39.5