summaryrefslogtreecommitdiffstats
path: root/lib/spawn.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spawn.c')
-rw-r--r--lib/spawn.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/spawn.c b/lib/spawn.c
index ce1a97d..57a4121 100644
--- a/lib/spawn.c
+++ b/lib/spawn.c
@@ -17,8 +17,9 @@
#include "shadowlog_internal.h"
-int run_command (const char *cmd, const char *argv[],
- /*@null@*/const char *envp[], /*@out@*/int *status)
+int
+run_command(const char *cmd, const char *argv[],
+ /*@null@*/const char *envp[], int *restrict status)
{
pid_t pid, wpid;