diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-09-08 22:11:04 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-09-08 22:11:04 +0200 |
commit | 78715f65c92a8892960e2a5fce945496939f8599 (patch) | |
tree | d18981188262514cf5be98702f4cd8bf3b5b39f1 /extras/fstab_import | |
parent | 04d4a6f85863552eaedc61cfeef5681776c8bb38 (diff) |
fix randonm findings from llvm-clang-analyzer
Thanks to Lennart for the log file!
Diffstat (limited to 'extras/fstab_import')
-rw-r--r-- | extras/fstab_import/fstab_import.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/fstab_import/fstab_import.c b/extras/fstab_import/fstab_import.c index 98ee75f174..c66bffb25c 100644 --- a/extras/fstab_import/fstab_import.c +++ b/extras/fstab_import/fstab_import.c @@ -152,7 +152,7 @@ int main(int argc, char *argv[]) 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; @@ -176,7 +176,7 @@ int main(int argc, char *argv[]) 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; |