X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=cpmrm.c;fp=cpmrm.c;h=0749235263731cb2b1db2ca8c7aaf9ea7ffd745a;hb=da79766c5b4c4bae50ddc7bd81b610d3a45c5899;hp=e9353412510b93ff505b4971b99b2c8d7d68945b;hpb=224b4e6d27a3af235500d9d8028ddbd3a60af7ed;p=debian%2Fcpmtools diff --git a/cpmrm.c b/cpmrm.c index e935341..0749235 100644 --- a/cpmrm.c +++ b/cpmrm.c @@ -7,7 +7,7 @@ #include #include -#include "getopt.h" +#include "getopt_.h" #include "cpmfs.h" #ifdef USE_DMALLOC @@ -41,7 +41,7 @@ int main(int argc, char *argv[]) /*{{{*/ } if (optind>=(argc-1)) usage=1; - else image=argv[optind]; + else image=argv[optind++]; if (usage) {