Permalink
Browse files

Merge branch 'master' of github.com:LemonBoy/ldm

  • Loading branch information...
2 parents 761b15d + 99f905b commit caefe8d51f796aba41b324c48e7ca220f18ab60f LemonBoy committed Sep 7, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 ldm.c
View
4 ldm.c
@@ -150,13 +150,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 caefe8d

Please sign in to comment.