From: Kay Sievers Date: Mon, 28 Apr 2008 03:07:47 +0000 (+0200) Subject: udevadm: info - do not print ATTR{dev}== X-Git-Tag: 174~1716 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c46d72a93409860aea84242f4dcbe37b2afab19;p=systemd udevadm: info - do not print ATTR{dev}== --- 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));