diff options
author | Karel Zak | 2015-08-05 13:39:06 +0200 |
---|---|---|
committer | Karel Zak | 2015-08-05 13:39:06 +0200 |
commit | 41e554e303e63c7051fda5783af2462066c43e4d (patch) | |
tree | 5419920018957d8cdff5832f18cf8637d73acf5f /libmount/src/optstr.c | |
parent | logger: improve readability [smatch scan] (diff) | |
download | kernel-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.c | 2 |
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); |