From 0036be52a9db635bd164c4e92ec071580c687b9b Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Mon, 12 Jan 2026 02:03:30 -0800 Subject: [PATCH] Fix PID_MAX --- die-with-parent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/die-with-parent.c b/die-with-parent.c index c005923..150e63c 100644 --- a/die-with-parent.c +++ b/die-with-parent.c @@ -14,7 +14,7 @@ #include #include -#define PID_MAX ((((size_t) 1) << (sizeof(pid_t) * 8)) + 1) +#define PID_MAX ((((size_t) 1) << (sizeof(pid_t) * 8)) - 1) static const char *EXEC_NAME;