summaryrefslogtreecommitdiff
path: root/cmds-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-device.c')
-rw-r--r--cmds-device.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmds-device.c b/cmds-device.c
index 4fa6b4aa..3a10438b 100644
--- a/cmds-device.c
+++ b/cmds-device.c
@@ -52,7 +52,6 @@ static int cmd_add_dev(int argc, char **argv)
DIR *dirstream = NULL;
int discard = 1;
int force = 0;
- char estr[100];
while (1) {
int c;
@@ -97,9 +96,8 @@ static int cmd_add_dev(int argc, char **argv)
int mixed = 0;
char *path;
- res = test_dev_for_mkfs(argv[i], force, estr);
+ res = test_dev_for_mkfs(argv[i], force);
if (res) {
- fprintf(stderr, "%s", estr);
ret++;
continue;
}