projects
/
debian
/
cpmtools
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update changelog to reflect new upstream version
[debian/cpmtools]
/
cpmrm.c
diff --git
a/cpmrm.c
b/cpmrm.c
index e9353412510b93ff505b4971b99b2c8d7d68945b..d6639532b7af888a8890f9e0adcc057cb6ed9f9d 100644
(file)
--- a/
cpmrm.c
+++ b/
cpmrm.c
@@
-7,7
+7,7
@@
#include <string.h>
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
-#include "getopt.h"
+#include "getopt
_
.h"
#include "cpmfs.h"
#ifdef USE_DMALLOC
#include "cpmfs.h"
#ifdef USE_DMALLOC
@@
-41,7
+41,7
@@
int main(int argc, char *argv[]) /*{{{*/
}
if (optind>=(argc-1)) usage=1;
}
if (optind>=(argc-1)) usage=1;
- else image=argv[optind];
+ else image=argv[optind
++
];
if (usage)
{
if (usage)
{
@@
-66,6
+66,7
@@
int main(int argc, char *argv[]) /*{{{*/
exitcode=1;
}
}
exitcode=1;
}
}
+ cpmUmount(&drive);
exit(exitcode);
}
/*}}}*/
exit(exitcode);
}
/*}}}*/