X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=mkfs.cpm.c;h=3e97a89a505ed5800475ede7b91aa982801265c4;hb=a2d7d89e8d4dbd8860a2f1fd624fcdb46eda35fc;hp=59a15428b3edc0b433abe9176e8ff2b90cd862b7;hpb=975c05c916276c70d34b5aa14e5f0faca1ae013d;p=debian%2Fcpmtools diff --git a/mkfs.cpm.c b/mkfs.cpm.c index 59a1542..3e97a89 100644 --- a/mkfs.cpm.c +++ b/mkfs.cpm.c @@ -7,7 +7,7 @@ #include #include -#include "getopt.h" +#include "getopt_.h" #include "cpmfs.h" #ifdef USE_DMALLOC @@ -130,7 +130,7 @@ int main(int argc, char *argv[]) /*{{{*/ } if (optind!=(argc-1)) usage=1; - else image=argv[optind]; + else image=argv[optind++]; if (usage) {