summaryrefslogtreecommitdiffstats
path: root/databases/grass-i18n/files/patch-src-misc-m.kappa-cmd-prt_hdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'databases/grass-i18n/files/patch-src-misc-m.kappa-cmd-prt_hdr.c')
-rw-r--r--databases/grass-i18n/files/patch-src-misc-m.kappa-cmd-prt_hdr.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/grass-i18n/files/patch-src-misc-m.kappa-cmd-prt_hdr.c b/databases/grass-i18n/files/patch-src-misc-m.kappa-cmd-prt_hdr.c
new file mode 100644
index 0000000..158ba79
--- /dev/null
+++ b/databases/grass-i18n/files/patch-src-misc-m.kappa-cmd-prt_hdr.c
@@ -0,0 +1,11 @@
+--- src/misc/m.kappa/cmd/prt_hdr.c.orig Sun Jul 11 17:16:19 2004
++++ src/misc/m.kappa/cmd/prt_hdr.c Sun Jul 11 17:16:32 2004
+@@ -10,7 +10,7 @@
+ if ((fd = fopen(output, "w")) == NULL) {
+ fprintf (stderr,
+ "ERROR: can't open <%s> to write header information\n", output);
+- exit();
++ exit(1);
+ }
+
+ fprintf (fd, "\n\t\t%s\n", title);
OpenPOWER on IntegriCloud