logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git
commit: 3036b591ff1ec69df9ad627f641b100f080ca834
parent 7a5c0cd5fa00811705116de2d8f4fbf026bbe589
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 20 Sep 2024 04:44:12 +0200

cmd/tr: unify error message formatting

Diffstat:

Mcmd/tr.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/tr.c b/cmd/tr.c @@ -165,7 +165,7 @@ main(int argc, char *argv[]) for(cnt = NCHARS, p = translate; cnt--;) *p++ = OOBCH; - if(!next(&s2)) errx(1, "empty string2"); + if(!next(&s2)) errx(1, "error: empty string2"); /* If string2 runs out of characters, use the last one specified. */ ch = s2.lastch;