aboutsummaryrefslogtreecommitdiff
path: root/toys/lsb
diff options
context:
space:
mode:
Diffstat (limited to 'toys/lsb')
-rw-r--r--toys/lsb/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/lsb/mount.c b/toys/lsb/mount.c
index 5bf300db..6b1dfa46 100644
--- a/toys/lsb/mount.c
+++ b/toys/lsb/mount.c
@@ -185,7 +185,7 @@ static void mount_filesystem(char *dev, char *dir, char *type,
if (strstart(&dev, "UUID=")) {
char *s = tortoise(0, (char *[]){"blkid", "-U", dev, 0});
- if (!dev) return error_msg("No uuid %s", dev);
+ if (!s) return error_msg("No uuid %s", dev);
dev = s;
}