diff options
author | Paul Oliver <contact@pauloliver.dev> | 2024-02-29 01:50:44 +0100 |
---|---|---|
committer | Paul Oliver <contact@pauloliver.dev> | 2024-02-29 01:50:44 +0100 |
commit | 0072819204d1f6ed04fbeb102291c97f0ee9c650 (patch) | |
tree | 719cae6861b9c46df6b41f38d738c380eee89c8b /tsalis/src/tsalis.c | |
parent | 91e7fe9f6fc23f385262f679ce437c174ec31712 (diff) |
Allowed longer simulation names
Diffstat (limited to 'tsalis/src/tsalis.c')
-rw-r--r-- | tsalis/src/tsalis.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tsalis/src/tsalis.c b/tsalis/src/tsalis.c index ab24c61..81c9a3d 100644 --- a/tsalis/src/tsalis.c +++ b/tsalis/src/tsalis.c @@ -33,7 +33,7 @@ onLoad(const char *fileName) FILE *testFile; if (strlen(fileName) > NAME_MAX_SIZE) { - fputs("ERROR: File name too long", stderr); + fputs("ERROR: File name too long\n", stderr); exit(1); } @@ -44,7 +44,7 @@ onLoad(const char *fileName) fclose(testFile); s_load(g_simName); } else { - fputs("ERROR: File does not exist", stderr); + fputs("ERROR: File does not exist\n", stderr); exit(1); } } @@ -63,11 +63,11 @@ init(int argc, char **argv) } else if (cmd == 'l') { onLoad(val); } else { - fputs("ERROR: Incorrect arguments", stderr); + fputs("ERROR: Incorrect arguments\n", stderr); exit(1); } } else { - fputs("ERROR: Incorrect argument count", stderr); + fputs("ERROR: Incorrect argument count\n", stderr); exit(1); } |