diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-04-08 18:23:59 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-04-08 18:23:59 +0000 |
commit | f9657e88fabd682d176d1205a8a03677228eaab3 (patch) | |
tree | 230ff2993235bf5da46b4f60079ec76f0092475c /nptl/tst-sem3.c | |
parent | cb4d04cd6133e8fe7af1bd7d193683e9d93189b4 (diff) | |
download | glibc-f9657e88fabd682d176d1205a8a03677228eaab3.tar glibc-f9657e88fabd682d176d1205a8a03677228eaab3.tar.gz glibc-f9657e88fabd682d176d1205a8a03677228eaab3.tar.bz2 glibc-f9657e88fabd682d176d1205a8a03677228eaab3.zip |
Update.
2003-04-08 Ulrich Drepper <drepper@redhat.com>
* tst-barrier2.c: Eliminate warnings.
* tst-cancel4.c: Likewise.
* tst-cond4.c: Likewise.
* tst-cond6.c: Likewise.
* tst-detach1.c: Likewise.
* tst-rwlock4.c: Likewise.
* tst-rwlock6.c: Likewise.
* tst-rwlock7.c: Likewise.
* tst-sem3.c: Likewise.
* tst-spin2.c: Likewise.
* tst-umask1.c: Likewise.
Diffstat (limited to 'nptl/tst-sem3.c')
-rw-r--r-- | nptl/tst-sem3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/tst-sem3.c b/nptl/tst-sem3.c index 7d3f68f019..91b9f08779 100644 --- a/nptl/tst-sem3.c +++ b/nptl/tst-sem3.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. @@ -54,7 +54,7 @@ main (void) memset (data, '\0', ps); /* Write the data to the file. */ - if (write (fd, data, ps) != ps) + if (write (fd, data, ps) != (ssize_t) ps) { puts ("short write"); exit (1); |