logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git
commit: d6627c25b65ca3eb396172fd637403a613a0ebd5
parent af65b632f38aa178d5e137b863a20e7fc2f21e8b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 18 Sep 2024 08:08:29 +0200

cmd/pwd: use fputs instead of fprintf

Diffstat:

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

diff --git a/cmd/pwd.c b/cmd/pwd.c @@ -13,7 +13,7 @@ main(int argc, char *argv[]) if(argc != 1) { - fprintf(stderr, "usage: pwd\n"); + fputs("usage: pwd\n", stderr); return 1; }