summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-05-28 16:39:09 +0200
committerCorinna Vinschen <corinna@vinschen.de>2015-05-28 16:39:09 +0200
commit714507ff38837630bb6456c35fd7f4bd6ba5680a (patch)
tree2fa82138468fc02b9811de1c1f1663d223268567
parentc978034e50fcbe559ace49b28c9cac1b28a663d6 (diff)
downloadcygnal-714507ff38837630bb6456c35fd7f4bd6ba5680a.tar.gz
cygnal-714507ff38837630bb6456c35fd7f4bd6ba5680a.tar.bz2
cygnal-714507ff38837630bb6456c35fd7f4bd6ba5680a.zip
Fix comment in sys/wait.h
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/sys/wait.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index d1b0afec8..632f2acb5 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2015-05-28 Corinna Vinschen <vinschen@redhat.com>
+
+ * libc/include/sys/wait.h: Fix comment.
+
2015-05-27 David Stacey <drstacey@tiscali.co.uk>
* libc/argz/argz_replace.c: Fix potential memory leak.
diff --git a/newlib/libc/include/sys/wait.h b/newlib/libc/include/sys/wait.h
index 73fe37202..f17e53f12 100644
--- a/newlib/libc/include/sys/wait.h
+++ b/newlib/libc/include/sys/wait.h
@@ -11,7 +11,7 @@ extern "C" {
#define WUNTRACED 2
/* A status looks like:
- <2 bytes info> <2 bytes code>
+ <1 byte info> <1 byte code>
<code> == 0, child has exited, info is the exit value
<code> == 1..7e, child has exited, info is the signal number.