gbranden pushed a commit to branch master
in repository groff.

commit 8fd37d7fee30eb4e071c2ea964d851d50393df1b
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Jul 24 17:10:44 2026 -0500

    [grops]: Fix Savannah #68559.
    
    * src/devices/grops/ps.cpp (ps_printer::do_import): Fix assertion
      failure caused by missing argument to parameterized `error()`
      diagnostic call.
    
    Fixes <https://savannah.gnu.org/bugs/?68559>.  Problem introduced by me
    in commit 9f050b7ed7, 7 May.
---
 ChangeLog                | 9 +++++++++
 src/devices/grops/ps.cpp | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 171fc7ef5..cacfd1459 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2026-07-24  G. Branden Robinson <[email protected]>
+
+       * src/devices/grops/ps.cpp (ps_printer::do_import): Fix
+       assertion failure caused by missing argument to parameterized
+       `error()` diagnostic call.
+
+       Fixes <https://savannah.gnu.org/bugs/?68559>.  Problem
+       introduced by me in commit 9f050b7ed7, 7 May.
+
 2026-07-24  G. Branden Robinson <[email protected]>
 
        [grops]: Regression-test Savannah #68559.
diff --git a/src/devices/grops/ps.cpp b/src/devices/grops/ps.cpp
index 7940d7d2d..d937d3615 100644
--- a/src/devices/grops/ps.cpp
+++ b/src/devices/grops/ps.cpp
@@ -1870,7 +1870,7 @@ void ps_printer::do_import(char *arg, const environment 
*env)
       || (p[1] == ' ')
       || (p[1] == '\n')) {
     error("scaling unit '%1' not allowed in argument to"
-         "device extension command 'import'");
+         "device extension command 'import'", p[1]);
     return;
   }
   while ((' ' == *p) || ('\n' == *p))

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to