shithub: neatroff

Download patch

ref: ab680a15958c948cde6288a0b0a1291eb184aba5
parent: 6ea4a266ebe57a4b0b3b98e643e6016c4832891f
author: Sizhe Zhao <prc.zhao@outlook.com>
date: Sat Sep 4 19:52:30 EDT 2021

roff: fix use of fprintf

--- a/roff.c
+++ b/roff.c
@@ -31,7 +31,7 @@
 
 void errdie(char *msg)
 {
-	fprintf(stderr, msg);
+	fprintf(stderr, "%s", msg);
 	exit(1);
 }