projects
/
project
/
mountd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
filesystem mount options in uci as optional parameter
[project/mountd.git]
/
autofs.c
diff --git
a/autofs.c
b/autofs.c
index
5f8810e
..
4ad782d
100644
(file)
--- a/
autofs.c
+++ b/
autofs.c
@@
-194,7
+194,7
@@
static void autofs_init(void)
p = ucix_get_option(ctx, "mountd", "mountd", "path");
ucix_cleanup(ctx);
if(p)
- snprintf(uci_path, 31, p);
+ snprintf(uci_path, 31,
"%s",
p);
else
snprintf(uci_path, 31, "/tmp/mounts/");
uci_path[31] = '\0';