From: John Darrington <john@darrington.wattle.id.au>
Date: Sat, 12 Sep 2020 17:31:58 +0000 (+0200)
Subject: Use PACKAGE_BUGREPORT instead of a literal string
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2854aec799f70255f922440c3454694193f19084;p=pspp

Use PACKAGE_BUGREPORT instead of a literal string
---

diff --git a/tests/data/datasheet-test.c b/tests/data/datasheet-test.c
index 87ac1b9a16..1310f51337 100644
--- a/tests/data/datasheet-test.c
+++ b/tests/data/datasheet-test.c
@@ -855,10 +855,9 @@ usage (void)
           "                       other values are string widths (0,1,11)\n",
           program_name, program_name);
   mc_options_usage ();
-  fputs ("\nOther options:\n"
-         "  --help               Display this help message\n"
-         "\nReport bugs to <bug-gnu-pspp@gnu.org>\n",
-         stdout);
+  printf ("\nOther options:\n"
+          "  --help               Display this help message\n"
+          "\nReport bugs to <%s>\n", PACKAGE_BUGREPORT);
   exit (0);
 }
 
diff --git a/tests/libpspp/sparse-xarray-test.c b/tests/libpspp/sparse-xarray-test.c
index 5354211230..47b338a65d 100644
--- a/tests/libpspp/sparse-xarray-test.c
+++ b/tests/libpspp/sparse-xarray-test.c
@@ -472,10 +472,9 @@ usage (void)
           "  --no-copy-columns    Do not copy column ranges in an xarray\n",
           program_name, program_name);
   mc_options_usage ();
-  fputs ("\nOther options:\n"
+  printf ("\nOther options:\n"
          "  --help               Display this help message\n"
-         "\nReport bugs to <bug-gnu-pspp@gnu.org>\n",
-         stdout);
+          "\nReport bugs to <%s>\n", PACKAGE_BUGREPORT);
   exit (0);
 }