shithub: mc

Download patch

ref: 37b4b23c2e9e86a899676afc82f52521a2e30ad8
parent: 728fe3286bec3f5e6b6df584d88c6b39e54237cb
author: Ori Bernstein <[email protected]>
date: Tue May 27 19:11:37 EDT 2014

Add newline at end of malformed format error.

--- a/libstd/fmt.myr
+++ b/libstd/fmt.myr
@@ -220,7 +220,7 @@
                         | 'c':    (c_val, ap) = vanext(ap)
                                 n += encode(buf[n:], c_val)
                         | _:
-                                die("Unknown format specifier")
+                                die("Unknown format specifier\n")
 			;;
 		else
 			n += encode(buf[n:], c)