Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/mkdir/mkdir.c

    r5a6cc679 r948222e4  
    168168        argc = cli_count_args(argv);
    169169
    170         for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) {
     170        c = 0;
     171        optreset = 1;
     172        optind = 0;
     173        opt_ind = 0;
     174
     175        while (c != -1) {
    171176                c = getopt_long(argc, argv, "pvhVfm:", long_options, &opt_ind);
    172177                switch (c) {
Note: See TracChangeset for help on using the changeset viewer.