projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make error messages a little better, use constants in unistd.h
[unix-history]
/
usr
/
src
/
lib
/
libc
/
gen
/
syslog.c
diff --git
a/usr/src/lib/libc/gen/syslog.c
b/usr/src/lib/libc/gen/syslog.c
index
9e64993
..
369cc1b
100644
(file)
--- a/
usr/src/lib/libc/gen/syslog.c
+++ b/
usr/src/lib/libc/gen/syslog.c
@@
-6,7
+6,7
@@
*/
#if defined(LIBC_SCCS) && !defined(lint)
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)syslog.c 5.3
1
(Berkeley) %G%";
+static char sccsid[] = "@(#)syslog.c 5.3
2
(Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@
-108,7
+108,7
@@
vsyslog(pri, fmt, ap)
++v;
v->iov_base = "\n";
v->iov_len = 1;
++v;
v->iov_base = "\n";
v->iov_len = 1;
- (void)writev(
2
, iov, 2);
+ (void)writev(
STDERR_FILENO
, iov, 2);
}
/* get connected, output the message to the local logger */
}
/* get connected, output the message to the local logger */