summaryrefslogtreecommitdiff
blob: de53717a3cbe56bf9534f56f6937cdeb27a390d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/inews/inews.c	2022-11-26 18:44:03.788039229 +0100
+++ b/inews/inews.c	2022-11-26 18:44:47.376080190 +0100
@@ -303,7 +303,7 @@
 			putc(*cp, ser_wr_fp);
 		else {		/* Stupid & hack.  God damn it. */
 			putc(toupper(passwd->pw_name[0]), ser_wr_fp);
-			fprintf(ser_wr_fp, passwd->pw_name+1);
+			fprintf(ser_wr_fp, "%s", passwd->pw_name+1);
 		}
 
 	fprintf(ser_wr_fp, ")\r\n");