Ignore:
File:
1 edited

Legend:

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

    ra35b458 r948222e4  
    338338        argc = cli_count_args(argv);
    339339
    340         for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) {
     340        c = 0;
     341        optreset = 1;
     342        optind = 0;
     343        opt_ind = 0;
     344
     345        while (c != -1) {
    341346                c = getopt_long(argc, argv, "xhvmH:t:b:sn", long_options, &opt_ind);
    342347                switch (c) {
Note: See TracChangeset for help on using the changeset viewer.