> What about this change:
> 1058,1059c1058,1059
> < syslog(0, "auth", "keyfs starting warnings: %lux %lux",
> < now, lastwarning);
> ---
> > syslog(0, "auth", "keyfs starting warnings at %s, last
> > was %s",
> > ctime(now), ctime(lastwarning));
>
i think a simple
syslog(0, "auth", keyfs starting warnings: last at
%uld\n", lastwarning);
would do. (syslog will datestamp the entry anyway.)
i'm sure everybody's facinated to note that date(1) will accept the time
in seconds in decimal, hex or octal
; date -n
1193852589
; acid
8.out:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
acid: 1193852589
0x4728bead
acid: 0x4728bead\O
010712137255
; date 0x4728bead
Wed Oct 31 13:43:09 EDT 2007
; date 010712137255
Wed Oct 31 13:43:09 EDT 2007
- erik