aboutsummaryrefslogtreecommitdiffstats
path: root/builtin.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-11-26 08:29:52 +0200
committerArnold D. Robbins <arnold@skeeve.com>2014-11-26 08:29:52 +0200
commit5dd46ec03bb3dc945d2f084726aaba79a83e6340 (patch)
tree95ed1d31e5b3851abbe0ea5e3ba1c8a6d9555662 /builtin.c
parent7efd4d794abbbd1b6abc2110cd43fd7896e0cb47 (diff)
downloadegawk-5dd46ec03bb3dc945d2f084726aaba79a83e6340.tar.gz
egawk-5dd46ec03bb3dc945d2f084726aaba79a83e6340.tar.bz2
egawk-5dd46ec03bb3dc945d2f084726aaba79a83e6340.zip
Fixes for new gensub warnings.
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin.c b/builtin.c
index 3aeee744..53210c4d 100644
--- a/builtin.c
+++ b/builtin.c
@@ -2696,7 +2696,7 @@ do_sub(int nargs, unsigned int flags)
if ((t1->flags & NUMCUR) != 0)
goto set_how_many;
- warning(_("gensub: third argument of `%.*s' treated as 1"),
+ warning(_("gensub: third argument `%.*s' treated as 1"),
(int) t1->stlen, t1->stptr);
how_many = 1;
}
@@ -2711,7 +2711,7 @@ set_how_many:
else
how_many = LONG_MAX;
if (d <= 0)
- warning(_("gensub: third argument of %g treated as 1"), d);
+ warning(_("gensub: third argument %g treated as 1"), d);
}
DEREF(t1);