aboutsummaryrefslogtreecommitdiff
path: root/sbin/geom/class/eli/geom_eli.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/geom/class/eli/geom_eli.c')
-rw-r--r--sbin/geom/class/eli/geom_eli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/geom/class/eli/geom_eli.c b/sbin/geom/class/eli/geom_eli.c
index e29c788166cb..25409e7d3c08 100644
--- a/sbin/geom/class/eli/geom_eli.c
+++ b/sbin/geom/class/eli/geom_eli.c
@@ -374,7 +374,7 @@ eli_genkey_files(struct gctl_req *req, bool new, const char *type,
if (!gctl_has_param(req, argname))
return (i);
- file = gctl_get_ascii(req, argname);
+ file = gctl_get_ascii(req, "%s", argname);
assert(file != NULL);
if (strcmp(file, "-") == 0)