diff options
-rw-r--r-- | runtime/stpd/ChangeLog | 5 | ||||
-rw-r--r-- | runtime/stpd/librelay.c | 4 | ||||
-rw-r--r-- | runtime/stpd/stp_dump.c | 2 | ||||
-rw-r--r-- | runtime/stpd/stp_merge.c | 2 | ||||
-rw-r--r-- | runtime/stpd/stpd.c | 2 |
5 files changed, 10 insertions, 5 deletions
diff --git a/runtime/stpd/ChangeLog b/runtime/stpd/ChangeLog index 09465b89..6452fa80 100644 --- a/runtime/stpd/ChangeLog +++ b/runtime/stpd/ChangeLog @@ -1,3 +1,8 @@ +2005-08-01 Frank Ch. Eigler <fche@redhat.com> + + * librelay.c: Correct fwrite api usage. + * all: Correct copyright holder name. + 2005-08-01 Martin Hunt <hunt@redhat.com> * librelay.h: Get structs and enums from diff --git a/runtime/stpd/librelay.c b/runtime/stpd/librelay.c index 2868fafc..4fe9d548 100644 --- a/runtime/stpd/librelay.c +++ b/runtime/stpd/librelay.c @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * Copyright (C) IBM Corporation, 2005 - * Copyright (C) Redhat Inc, 2005 + * Copyright (C) Red Hat Inc, 2005 * */ #include <ctype.h> @@ -343,7 +343,7 @@ static int process_subbufs(struct buf_info *info) subbuf_ptr += sizeof(padding); len = (params.subbuf_size - sizeof(padding)) - padding; if (len) { - if (fwrite_unlocked (subbuf_ptr, len, 1, percpu_tmpfile[cpu]) < 0) { + if (fwrite_unlocked (subbuf_ptr, len, 1, percpu_tmpfile[cpu]) != 1) { fprintf(stderr, "ERROR: couldn't write to output file for cpu %d, exiting: errcode = %d: %s\n", cpu, errno, strerror(errno)); exit(1); } diff --git a/runtime/stpd/stp_dump.c b/runtime/stpd/stp_dump.c index 74dbc012..287d915c 100644 --- a/runtime/stpd/stp_dump.c +++ b/runtime/stpd/stp_dump.c @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * Copyright (C) Redhat Inc, 2005 + * Copyright (C) Red Hat Inc, 2005 * */ diff --git a/runtime/stpd/stp_merge.c b/runtime/stpd/stp_merge.c index e9c8b98c..ecd9b64a 100644 --- a/runtime/stpd/stp_merge.c +++ b/runtime/stpd/stp_merge.c @@ -15,7 +15,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * Copyright (C) Redhat Inc, 2005 + * Copyright (C) Red Hat Inc, 2005 * */ diff --git a/runtime/stpd/stpd.c b/runtime/stpd/stpd.c index bbcf1954..006de753 100644 --- a/runtime/stpd/stpd.c +++ b/runtime/stpd/stpd.c @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * Copyright (C) IBM Corporation, 2005 - * Copyright (C) Redhat Inc, 2005 + * Copyright (C) Red Hat Inc, 2005 * */ |