mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
21a37f2216
Taken from tasic@planka.carrier.kiev.ua + some modifications by me (style, patch additions to compile cleanly, pkg/*) added convert utility to port/package to enable people to do migrations, if needed, see the docu for details. PR: 13716 Submitted by: tasic@planka.carrier.kiev.ua
12 lines
400 B
Plaintext
12 lines
400 B
Plaintext
--- do_acct.c.orig Tue Nov 9 22:02:51 1999
|
|
+++ do_acct.c Tue Nov 9 22:03:30 1999
|
|
@@ -158,7 +158,7 @@
|
|
#endif
|
|
entry.ut_time = utime;
|
|
|
|
- wtmpfd = open(wtmpfile, O_CREAT | O_WRONLY | O_APPEND | O_SYNC, 0666);
|
|
+ wtmpfd = open(wtmpfile, O_CREAT | O_WRONLY | O_APPEND, 0666);
|
|
if (wtmpfd < 0) {
|
|
report(LOG_ERR, "Can't open wtmp file %s -- %s",
|
|
wtmpfile, sys_errlist[errno]);
|