diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-14 08:51:08 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-14 08:51:08 +0000 |
commit | a8eb4dbea2bbfafd47c228c04f99c12c05b403a3 (patch) | |
tree | d56cccb2296b1a1b83ce013461fff53819f2272f /lib/libc/stdlib | |
parent | 5bec88ec0f0668b0efb99ed84beba5aff12ad8cf (diff) |
Remove cast of int* to int*
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/system.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/system.c b/lib/libc/stdlib/system.c index 2a50ec74900..3ad0bcde413 100644 --- a/lib/libc/stdlib/system.c +++ b/lib/libc/stdlib/system.c @@ -1,4 +1,4 @@ -/* $OpenBSD: system.c,v 1.9 2015/09/13 08:31:48 guenther Exp $ */ +/* $OpenBSD: system.c,v 1.10 2015/09/14 08:51:07 guenther Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. * All rights reserved. @@ -66,7 +66,7 @@ system(const char *command) intsave = signal(SIGINT, SIG_IGN); quitsave = signal(SIGQUIT, SIG_IGN); - pid = waitpid(pid, (int *)&pstat, 0); + pid = waitpid(pid, &pstat, 0); sigprocmask(SIG_SETMASK, &omask, NULL); (void)signal(SIGINT, intsave); (void)signal(SIGQUIT, quitsave); |