From 41e554e303e63c7051fda5783af2462066c43e4d Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 5 Aug 2015 13:39:06 +0200 Subject: libmount: fix typo in mnt_optstr_prepend_option() Signed-off-by: Karel Zak --- libmount/src/optstr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmount/src/optstr.c') diff --git a/libmount/src/optstr.c b/libmount/src/optstr.c index 6593c1abe..198890d12 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); -- cgit v1.2.3-55-g7522