forked from pool/procps
Dirk Mueller
ad8ffc4215
- Switch to procps 4 branch, bsorbing the former procps4 package: + Add provides/obsoletes procps4: make zypper replace procps4 with the main package for users that manually switched. Do the final switch to procs4; the issues from 2022 (e.g. salt) should be fixed. OBS-URL: https://build.opensuse.org/request/show/1190400 OBS-URL: https://build.opensuse.org/package/show/Base:System/procps?expand=0&rev=254
15 lines
365 B
Diff
15 lines
365 B
Diff
---
|
|
src/pwdx.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- src/pwdx.c
|
|
+++ src/pwdx.c 2016-07-11 13:17:16.154313659 +0000
|
|
@@ -113,6 +113,7 @@ int main(int argc, char *argv[])
|
|
buflen = 10 + strlen(argv[i]) + 1;
|
|
buf = xmalloc(buflen);
|
|
|
|
+ errno = 0;
|
|
if (check_pid_argument(argv[i]))
|
|
xerrx(EXIT_FAILURE, _("invalid process id: %s"),
|
|
argv[i]);
|