summaryrefslogtreecommitdiff
path: root/udevinfo.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-02-17 01:27:01 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:32:28 -0700
commit16378373cb9d96e5d424921806ff71f218e92694 (patch)
treeaa43744b7023ccbbb874cf9557f5cd4e9a66699a /udevinfo.c
parent8bbf27514c5e59f4982d0164af6b5df00ca2bac9 (diff)
[PATCH] udev - switch SYSFS_file to SYSFS{file}
Here we switch the configs and man pages to the new attribute syntax. Also the 'partition trick' is mentioned in udev.8 I think it's more clear visible now, that inside the brackets are user supplied values used and not some magic keys handled: 'SYSFS_dev' is now 'SYSFS{dev}' The old syntax is still supported.
Diffstat (limited to 'udevinfo.c')
-rw-r--r--udevinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevinfo.c b/udevinfo.c
index 44eb142709..e4ea698111 100644
--- a/udevinfo.c
+++ b/udevinfo.c
@@ -90,7 +90,7 @@ static int print_all_attributes(const char *path)
len--;
}
if (len == 0)
- printf(" SYSFS_%s=\"%s\"\n", attr->name, value);
+ printf(" SYSFS{%s}=\"%s\"\n", attr->name, value);
}
}
printf("\n");