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:40:43 +0200
commit1aeda8a95f10002ad99920ee0610533b5aa7664b (patch)
tree1daad227498d2f827b2c5741288f1bd8338688da
parent712811e9bb53564fe27631c0cdaf0e7adb521396 (diff)
downloadcygnal-1aeda8a95f10002ad99920ee0610533b5aa7664b.tar.gz
cygnal-1aeda8a95f10002ad99920ee0610533b5aa7664b.tar.bz2
cygnal-1aeda8a95f10002ad99920ee0610533b5aa7664b.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.