logo

utils-std

Collection of commonly available Unix tools
commit: 53db013e84b64f6119fcc1a972e7bb24a09384da
parent 3cba99cb20e4160048a57a3fa8c885b8aeb4afe3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 14 Nov 2023 09:09:15 +0100

cmd/nproc: Prefix "nproc: " in perror string

Diffstat:

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

diff --git a/cmd/nproc.c b/cmd/nproc.c @@ -42,7 +42,7 @@ main(int argc, char *argv[]) long np = sysconf(target); if(np < 0) { - perror("sysconf"); + perror("nproc: sysconf"); return 1; }