pos[0] = '\0';
label = str;
}
- if (matches_device_list(udev, devices, str)) {
+ if (matches_device_list(udev, devices, label)) {
print_fstab_entry(udev, mnt);
rc = 0;
break;
pos[0] = '\0';
uuid = str;
}
- if (matches_device_list(udev, devices, str)) {
+ if (matches_device_list(udev, devices, uuid)) {
print_fstab_entry(udev, mnt);
rc = 0;
break;