@@ -204,7 +204,7 @@ freealias(struct alias *ap) {
void
printalias(const struct alias *ap) {
- out1fmt("%s\n", single_quote(ap->name));
+ out1fmt(snlfmt, single_quote(ap->name));
}
STATIC struct alias **
@@ -345,7 +345,7 @@ usage:
pid = **argv == '-' ?
-number(*argv + 1) : number(*argv);
if (kill(pid, signo) != 0) {
- sh_warnx("%s\n", strerror(errno));
+ sh_warnx(snlfmt, strerror(errno));
i = 1;
}
} while (*++argv);
@@ -237,7 +237,7 @@ umaskcmd(int argc, char **argv)
*ap++ = ',';
}
ap[-1] = '\0';
- out1fmt("%s\n", buf);
+ out1fmt(snlfmt, buf);
} else {
out1fmt("%.4o\n", mask);
}
Use snlfmt in a few more places. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> --- src/alias.c | 2 +- src/jobs.c | 2 +- src/miscbltin.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)