diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2012-01-16 15:38:41 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2012-01-16 15:38:41 +0100 |
commit | 1b9e13e2e2c4755752e1e9fd8ff4399af7329ab8 (patch) | |
tree | 21a69689d7c2d2fe623c2bdf30a4438f794e75e2 /src | |
parent | 338dc67a005fd0ed9a8a3524d2b317e33ab33c9f (diff) |
builtin: blkid - add missing ID_ prefix
<ridikulus_rat> 60-persistent-storage.rules gpt by-partlabel/by-partuuid
symlinks not created in udev-177 util-linux-2.20.1 kmod-3 in Archlinux x86_64.
<falconindy> ridikulus_rat: fix the rule, or fix the blkid builtin ;)
<kay> oh, i missed the ID_ stuff? :)
Diffstat (limited to 'src')
-rw-r--r-- | src/udev-builtin-blkid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev-builtin-blkid.c b/src/udev-builtin-blkid.c index 2056617dbf..ea526a425e 100644 --- a/src/udev-builtin-blkid.c +++ b/src/udev-builtin-blkid.c @@ -69,11 +69,11 @@ static void print_property(struct udev_device *dev, bool test, const char *name, } else if (!strcmp(name, "PART_ENTRY_NAME")) { blkid_encode_string(value, s, sizeof(s)); - udev_builtin_add_property(dev, test, "PART_ENTRY_NAME", s); + udev_builtin_add_property(dev, test, "ID_PART_ENTRY_NAME", s); } else if (!strcmp(name, "PART_ENTRY_TYPE")) { blkid_encode_string(value, s, sizeof(s)); - udev_builtin_add_property(dev, test, "PART_ENTRY_TYPE", s); + udev_builtin_add_property(dev, test, "ID_PART_ENTRY_TYPE", s); } else if (!strncmp(name, "PART_ENTRY_", 11)) { util_strscpyl(s, sizeof(s), "ID_", name, NULL); |