summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/groff/grops/ps.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/groff/grops/ps.cc b/gnu/usr.bin/groff/grops/ps.cc
index 49ed9d4a515..6f14a223008 100644
--- a/gnu/usr.bin/groff/grops/ps.cc
+++ b/gnu/usr.bin/groff/grops/ps.cc
@@ -1480,7 +1480,7 @@ int main(int argc, char **argv)
}
case 'c':
if (sscanf(optarg, "%d", &ncopies) != 1 || ncopies <= 0) {
- error("bad number of copies `%s'", optarg);
+ error("bad number of copies `%1'", optarg);
ncopies = 1;
}
break;