summarylogtreecommitdiffstats
path: root/troff_generator.c.patch
blob: 1bd25116949a887a187c9f347516b12783840d33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/Source/troff_generator.c	2021-01-28 23:24:55.000000000 +0100
+++ b/Source/troff_generator.c	2024-02-16 16:30:54.120883223 +0100
@@ -30,7 +30,7 @@
 #include <ctype.h>
 
 #include <sys/param.h>
-#include <sys/unistd.h>
+#include <unistd.h>
 
 #include "troff_generator.h"
 #include "util.h"
@@ -560,6 +560,6 @@
  * SOURCE
  */
 {
-    fprintf( dest_doc, line_number_string );
+    fprintf( dest_doc, "%s", line_number_string );
 }
 /******/