fix wrong type in mkevent and main

This commit is contained in:
Liam Waldron 2023-04-27 09:33:03 -04:00
parent ba58a7d777
commit b68779f516
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ int main(int argc, char *argv[]) {
if (argc < 2) { if (argc < 2) {
printf("not enough options\n"); printf("not enough options\n");
printf("usage: %c -l -n DATE EVENT_NAME\n", argv[0]); printf("usage: %s -l -n DATE EVENT_NAME\n", argv[0]);
return 1; return 1;
} }

View File

@ -18,7 +18,7 @@ char mkevent(int argc, char *argv[]) {
} */ } */
if (argc < 3) { if (argc < 3) {
printf("usage: %c [-n] DATE EVENT_NAME\n", argv[0]); printf("usage: %s [-n] DATE EVENT_NAME\n", argv[0]);
return 1; return 1;
} }