aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-09-02 12:41:50 -0400
committerPaul Duncan <pabs@pablotron.org>2023-09-02 12:41:50 -0400
commita077b5575b4a1902cea36ceb63a0e25e4bbaaa9d (patch)
tree0f64e18db9c286394ce270c3c882fe29b63c1e42
parenta36e72d0825e2390575ea228e670074089a2b5b1 (diff)
downloadsha3-a077b5575b4a1902cea36ceb63a0e25e4bbaaa9d.tar.bz2
sha3-a077b5575b4a1902cea36ceb63a0e25e4bbaaa9d.zip
main.c: add trailing newline to "unknown algorithm" error message
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 97cf0b4..1b2ca06 100644
--- a/main.c
+++ b/main.c
@@ -147,6 +147,6 @@ int main(int argc, char *argv[]) {
return 0;
}
- fprintf(stderr, "Unknown algorithm: %s", argv[1]);
+ fprintf(stderr, "Unknown algorithm: %s\n", argv[1]);
return -1;
}