summaryrefslogtreecommitdiffstats
path: root/commands/mkdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/mkdir.c')
-rw-r--r--commands/mkdir.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/commands/mkdir.c b/commands/mkdir.c
index 4d9bcb602b..a9c0b45356 100644
--- a/commands/mkdir.c
+++ b/commands/mkdir.c
@@ -30,8 +30,6 @@ static int do_mkdir (cmd_tbl_t *cmdtp, int argc, char *argv[])
{
int opt, parent = 0, ret;
- getopt_reset();
-
while((opt = getopt(argc, argv, "p")) > 0) {
switch(opt) {
case 'p':