aboutsummaryrefslogtreecommitdiffstats
path: root/sys-utils
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@telfort.nl>2025-05-28 11:37:04 +0200
committerKarel Zak <kzak@redhat.com>2025-05-29 12:04:28 +0200
commit46608e3d7e8ca309589d0321bf911e19c7d26dd3 (patch)
tree2fbf10e1b91a7257efb6afa7be4db5f3eedc74d3 /sys-utils
parent078b3fb834d77af566be4c636058d9104cb94a4a (diff)
downloadutil-linux-46608e3d7e8ca309589d0321bf911e19c7d26dd3.tar.gz
textual: harmonize the wording of the error message for an invalid PID
Having four different forms for the same basic message is unneeded. Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
Diffstat (limited to 'sys-utils')
-rw-r--r--sys-utils/setpriv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/setpriv.c b/sys-utils/setpriv.c
index 10274f5f66..d714650e8d 100644
--- a/sys-utils/setpriv.c
+++ b/sys-utils/setpriv.c
@@ -473,7 +473,7 @@ static void parse_ptracer(struct privctx *opts, const char *str)
} else if (!strcmp(str, "none")) {
opts->ptracer = 0;
} else {
- opts->ptracer = strtopid_or_err(str, _("failed to parse ptracer pid"));
+ opts->ptracer = strtopid_or_err(str, _("invalid PID argument"));
}
}