diff options
| author | Benno Schulenberg <bensberg@telfort.nl> | 2025-05-28 11:37:04 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2025-05-29 12:04:28 +0200 |
| commit | 46608e3d7e8ca309589d0321bf911e19c7d26dd3 (patch) | |
| tree | 2fbf10e1b91a7257efb6afa7be4db5f3eedc74d3 /misc-utils/lsclocks.c | |
| parent | 078b3fb834d77af566be4c636058d9104cb94a4a (diff) | |
| download | util-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 'misc-utils/lsclocks.c')
| -rw-r--r-- | misc-utils/lsclocks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/lsclocks.c b/misc-utils/lsclocks.c index 376bc6e51d..42a91fb948 100644 --- a/misc-utils/lsclocks.c +++ b/misc-utils/lsclocks.c @@ -593,7 +593,7 @@ int main(int argc, char **argv) break; case 'c': cpu_clock = xmalloc(sizeof(*cpu_clock)); - cpu_clock->pid = strtopid_or_err(optarg, _("failed to parse pid")); + cpu_clock->pid = strtopid_or_err(optarg, _("invalid PID argument")); snprintf(cpu_clock->name, sizeof(cpu_clock->name), "%jd", (intmax_t) cpu_clock->pid); list_add(&cpu_clock->head, &cpu_clocks); |
