From: Karel Zak Date: Wed, 5 Aug 2015 11:39:06 +0000 (+0200) Subject: libmount: fix typo in mnt_optstr_prepend_option() X-Git-Tag: v2.27-rc2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41e554e303e63c7051fda5783af2462066c43e4d;p=thirdparty%2Futil-linux.git libmount: fix typo in mnt_optstr_prepend_option() Signed-off-by: Karel Zak --- diff --git a/libmount/src/optstr.c b/libmount/src/optstr.c index 6593c1abe4..198890d124 100644 --- a/libmount/src/optstr.c +++ b/libmount/src/optstr.c @@ -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);