aboutsummaryrefslogtreecommitdiffstats
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 4b9622ed5a..8248f0dee8 100644
--- a/libmount/src/optstr.c
+++ b/libmount/src/optstr.c
@@ -382,7 +382,7 @@ insert_value(char **str, char *pos, const char *substr, char **next)
size_t strsz = strlen(*str);
size_t possz = strlen(pos);
size_t posoff;
- char *p = NULL;
+ char *p;
int sep;
/* is it necessary to prepend '=' before the substring ? */