Permalink
Browse files

Late night silly fix.

  • Loading branch information...
Giuseppe
Giuseppe committed Sep 6, 2011
1 parent 6d88ded commit 99f905b74b850434d696d83cfaab3ee766e64388
Showing with 2 additions and 2 deletions.
  1. +2 −2 ldm.c
View
4 ldm.c
@@ -147,13 +147,13 @@ fstab_search (struct fstab_t *fstab, struct device_t *device)
for (node = fstab->head; node; node = node->next) {
if (!strncasecmp(node->node, "UUID=", 5)) {
- tmp = udev_device_get_property_value(device->udev, "ID_FS_UUID_SAFE");
+ tmp = udev_device_get_property_value(device->udev, "ID_FS_UUID_ENC");
if (tmp && !strcmp(node->node + 5, tmp))
return node;
}
else if (!strncasecmp(node->node, "LABEL=", 6)) {
- tmp = udev_device_get_property_value(device->udev, "ID_FS_LABEL_SAFE");
+ tmp = udev_device_get_property_value(device->udev, "ID_FS_LABEL_ENC");
if (tmp && !strcmp(node->node + 6, tmp))
return node;
}

0 comments on commit 99f905b

Please sign in to comment.