summaryrefslogtreecommitdiff
path: root/devnode/devnode.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-19 12:37:06 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-19 12:37:06 +0000
commit8d8ca137c984341fcfdee4148fde002b2fdea9b8 (patch)
tree3980896f90628c5d5d2162f0b4155b8aa7f4c7a8 /devnode/devnode.c
parent12320b79aa086328c8e0ce166e68aebb29b94e48 (diff)
Fix format security
Diffstat (limited to 'devnode/devnode.c')
-rw-r--r--devnode/devnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/devnode/devnode.c b/devnode/devnode.c
index 299de3c3..50011aa4 100644
--- a/devnode/devnode.c
+++ b/devnode/devnode.c
@@ -255,7 +255,7 @@ trivfs_append_args (struct trivfs_control *fsys, char **argz, size_t *argz_len)
if (master_file)
ADD_OPT ("--master-device=%s", master_file);
- ADD_OPT (device_name);
+ ADD_OPT ("%s", device_name);
#undef ADD_OPT
return err;