Ignore:
File:
1 edited

Legend:

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

    r5a6cc679 r948222e4  
    3737#include <getopt.h>
    3838#include <inttypes.h>
     39#include <str.h>
    3940#include "config.h"
    4041#include "util.h"
     
    140141        argc = cli_count_args(argv);
    141142
    142         for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) {
     143        c = 0;
     144        optreset = 1;
     145        optind = 0;
     146        opt_ind = 0;
     147
     148        while (c != -1) {
    143149                c = getopt_long(argc, argv, "i:ht", long_options, &opt_ind);
    144150                switch (c) {
Note: See TracChangeset for help on using the changeset viewer.