Merge pull request #1718 from polluks2/patch-2

Some clean-up
This commit is contained in:
Bob Andrews 2022-05-06 13:08:14 +02:00 committed by GitHub
commit 2314cddb5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,3 @@
#include <stdlib.h>
#include <stdio.h>
@ -7,8 +6,7 @@ unsigned int n, i, c;
void usage(char *arg)
{
printf("usage: %s [file]\n", arg);
exit(-1);
printf("usage: %s file\n", arg);
}
int main(int argc, char *argv[]) {
@ -33,5 +31,5 @@ int main(int argc, char *argv[]) {
fputc((n >> 8) & 0xff, in);
fclose(in);
return (0);
return 0;
}