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
date and time created 83/08/05 13:35:19 by sam
[unix-history]
/
usr
/
src
/
old
/
implogd
/
implogd.c
diff --git
a/usr/src/old/implogd/implogd.c
b/usr/src/old/implogd/implogd.c
index
08c8f6a
..
87caaaf
100644
(file)
--- a/
usr/src/old/implogd/implogd.c
+++ b/
usr/src/old/implogd/implogd.c
@@
-1,10
+1,10
@@
#ifndef lint
#ifndef lint
-static char sccsid[] = "@(#)implogd.c 4.
6
(Berkeley) %G%";
+static char sccsid[] = "@(#)implogd.c 4.
8
(Berkeley) %G%";
#endif
#endif
-#include <time.h>
#include <sgtty.h>
#include <sgtty.h>
+#include <sys/time.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/file.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/file.h>
@@
-58,7
+58,7
@@
main(argc, argv)
}
}
#endif
}
}
#endif
- log = open(LOGFILE,
FCREATE|FWRONLY|F
APPEND, 0644);
+ log = open(LOGFILE,
O_CREAT|O_WRONLY|O_
APPEND, 0644);
if (log < 0) {
perror("implogd: open");
exit(1);
if (log < 0) {
perror("implogd: open");
exit(1);