summaryrefslogtreecommitdiffstats
path: root/libmount/src/optstr.c
diff options
context:
space:
mode:
authorKarel Zak2015-08-05 13:39:06 +0200
committerKarel Zak2015-08-05 13:39:06 +0200
commit41e554e303e63c7051fda5783af2462066c43e4d (patch)
tree5419920018957d8cdff5832f18cf8637d73acf5f /libmount/src/optstr.c
parentlogger: improve readability [smatch scan] (diff)
downloadkernel-qcow2-util-linux-41e554e303e63c7051fda5783af2462066c43e4d.tar.gz
kernel-qcow2-util-linux-41e554e303e63c7051fda5783af2462066c43e4d.tar.xz
kernel-qcow2-util-linux-41e554e303e63c7051fda5783af2462066c43e4d.zip
libmount: fix typo in mnt_optstr_prepend_option()
Signed-off-by: Karel Zak <kzak@redhat.com>
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);