diff options
Diffstat (limited to 'accel-pppd/cli/show_sessions.c')
-rw-r--r-- | accel-pppd/cli/show_sessions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/cli/show_sessions.c b/accel-pppd/cli/show_sessions.c index 13f1a831..84ccb70b 100644 --- a/accel-pppd/cli/show_sessions.c +++ b/accel-pppd/cli/show_sessions.c @@ -425,7 +425,7 @@ static void print_uptime(const struct ap_session *ses, char *buf) if (ses->stop_time) uptime = ses->stop_time - ses->start_time; else { - time(&uptime); + uptime = _time(); uptime -= ses->start_time; } |