]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: fix typo in mnt_optstr_prepend_option()
authorKarel Zak <kzak@redhat.com>
Wed, 5 Aug 2015 11:39:06 +0000 (13:39 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 5 Aug 2015 11:39:06 +0000 (13:39 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/optstr.c

index 6593c1abe410758ead637834a44c405645297795..198890d124970ddaaede73167f173324cef05db3 100644 (file)
@@ -254,7 +254,7 @@ int mnt_optstr_prepend_option(char **optstr, const char *name, const char *value
        if (!name || !*name)
                return 0;
 
-       *tmp = *optstr;
+       tmp = *optstr;
        *optstr = NULL;
 
        rc = mnt_optstr_append_option(optstr, name, value);