diff options
author | Shawn Routhier <sar@isc.org> | 2009-01-22 00:43:58 +0000 |
---|---|---|
committer | Shawn Routhier <sar@isc.org> | 2009-01-22 00:43:58 +0000 |
commit | ae566556280cc57824f6ab44fdf5aef97274ee42 (patch) | |
tree | 671dd88802210218a493303b8949512939db4dba /omapip | |
parent | 5536fc37e3a0cb0cccce4209f3e06b56885c43d7 (diff) | |
download | isc-dhcp-ae566556280cc57824f6ab44fdf5aef97274ee42.tar.gz |
Update for 19054 - modifications to keep GCC 4.3 happy
Diffstat (limited to 'omapip')
-rw-r--r-- | omapip/errwarn.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/omapip/errwarn.c b/omapip/errwarn.c index 9ea90b1f..31d00c44 100644 --- a/omapip/errwarn.c +++ b/omapip/errwarn.c @@ -4,7 +4,7 @@ /* * Copyright (c) 1995 RadioMail Corporation. - * Copyright (c) 2004,2007 by Internet Systems Consortium, Inc. ("ISC") + * Copyright (c) 2004,2007,2009 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 1996-2003 by Internet Software Consortium * * Permission to use, copy, modify, and distribute this software for any @@ -70,8 +70,8 @@ void log_fatal (const char * fmt, ... ) /* Also log it to stderr? */ if (log_perror) { - write (STDERR_FILENO, mbuf, strlen (mbuf)); - write (STDERR_FILENO, "\n", 1); + IGNORE_RET (write (STDERR_FILENO, mbuf, strlen (mbuf))); + IGNORE_RET (write (STDERR_FILENO, "\n", 1)); } #if !defined (NOMINUM) @@ -118,8 +118,8 @@ int log_error (const char * fmt, ...) #endif if (log_perror) { - write (STDERR_FILENO, mbuf, strlen (mbuf)); - write (STDERR_FILENO, "\n", 1); + IGNORE_RET (write (STDERR_FILENO, mbuf, strlen (mbuf))); + IGNORE_RET (write (STDERR_FILENO, "\n", 1)); } return 0; @@ -145,8 +145,8 @@ int log_info (const char *fmt, ...) #endif if (log_perror) { - write (STDERR_FILENO, mbuf, strlen (mbuf)); - write (STDERR_FILENO, "\n", 1); + IGNORE_RET (write (STDERR_FILENO, mbuf, strlen (mbuf))); + IGNORE_RET (write (STDERR_FILENO, "\n", 1)); } return 0; @@ -172,8 +172,8 @@ int log_debug (const char *fmt, ...) #endif if (log_perror) { - write (STDERR_FILENO, mbuf, strlen (mbuf)); - write (STDERR_FILENO, "\n", 1); + IGNORE_RET (write (STDERR_FILENO, mbuf, strlen (mbuf))); + IGNORE_RET (write (STDERR_FILENO, "\n", 1)); } return 0; |