Blame bsd-games-2.17-utmpstruct.patch
|
Michael Thomas |
cc5a4cd |
--- bsd-games-2.17.new/dm/utmpentry.c 2004-10-23 05:17:21.000000000 -0700
|
|
Michael Thomas |
cc5a4cd |
+++ bsd-games-2.17/dm/utmpentry.c 2006-04-04 10:51:17.000000000 -0700
|
|
Michael Thomas |
cc5a4cd |
@@ -291,7 +291,8 @@
|
|
Michael Thomas |
cc5a4cd |
e->line[sizeof(e->line) - 1] = '\0';
|
|
Michael Thomas |
cc5a4cd |
(void)strncpy(e->host, up->ut_host, sizeof(up->ut_host));
|
|
Michael Thomas |
cc5a4cd |
e->name[sizeof(e->host) - 1] = '\0';
|
|
Michael Thomas |
cc5a4cd |
- e->tv = up->ut_tv;
|
|
Michael Thomas |
cc5a4cd |
+ e->tv.tv_sec = up->ut_tv.tv_sec;
|
|
Michael Thomas |
cc5a4cd |
+ e->tv.tv_usec = up->ut_tv.tv_usec;
|
|
Michael Thomas |
cc5a4cd |
adjust_size(e);
|
|
Michael Thomas |
cc5a4cd |
}
|
|
Michael Thomas |
cc5a4cd |
#endif
|