summaryrefslogtreecommitdiffstats
path: root/libmount/src/optstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/src/optstr.c')
-rw-r--r--libmount/src/optstr.c2
1 files changed, 1 insertions, 1 deletions
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);