]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: fix copy & past typo
authorKarel Zak <kzak@redhat.com>
Tue, 25 Apr 2023 10:33:44 +0000 (12:33 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 25 Apr 2023 10:33:44 +0000 (12:33 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/hook_idmap.c

index 2e01ef4445cb9952eb3f0c1e42a465aa90f27b24..b3e1d82d4b97f089d17a672762ca3e2680aaed17 100644 (file)
@@ -390,7 +390,7 @@ static int hook_prepare_options(
 
        value = mnt_opt_get_value(opt);
        if (value)
-               value = skip_blank(p);
+               value = skip_blank(value);
        if (!value || !*value)
                return errno = EINVAL, -MNT_ERR_MOUNTOPT;