shithub: puzzles

Download patch

ref: b780b073da9a038347066d4ba65d9c28cc9eedce
parent: 69e63a810e0bd6f85a46d8490c6e366237e061ef
author: Ben Harris <bjh21@bjh21.me.uk>
date: Thu Dec 15 18:55:32 EST 2022

magnetssolver: Add a missing newline to a message

--- a/magnets.c
+++ b/magnets.c
@@ -2641,7 +2641,7 @@
     decode_params(p, id);
     err = validate_params(p, true);
     if (err) {
-        fprintf(stderr, "%s: %s", argv[0], err);
+        fprintf(stderr, "%s: %s\n", argv[0], err);
         goto done;
     }