diff options
author | 2005-08-10 19:31:55 +0000 | |
---|---|---|
committer | 2005-08-10 19:31:55 +0000 | |
commit | 03b0d76bff4e807dc711e1256217a80010795cfd (patch) | |
tree | 4a43a35f23789d869e6af5c08add59a3fcff2547 | |
parent | sync (diff) | |
download | wireguard-openbsd-03b0d76bff4e807dc711e1256217a80010795cfd.tar.xz wireguard-openbsd-03b0d76bff4e807dc711e1256217a80010795cfd.zip |
print session time in fixed width
ok henning, deraadt
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index b308e470c28..217c58f3e04 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.147 2005/06/24 15:26:33 jolan Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.148 2005/08/10 19:31:55 sturm Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -3164,7 +3164,7 @@ pppoe_status(void) } printf(" time: "); if (day != 0) printf("%ldd ", day); - printf("%ld:%ld:%ld", hour, min, sec); + printf("%02ld:%02ld:%02ld", hour, min, sec); } putchar('\n'); } |