diff options
| author | Kozlov Dmitry <xeb@mail.ru> | 2012-11-01 17:45:31 +0400 |
|---|---|---|
| committer | Kozlov Dmitry <xeb@mail.ru> | 2012-11-01 17:45:31 +0400 |
| commit | c0ee752358319ef3502cbd7604a9e8be5a18afd8 (patch) | |
| tree | 47f6400c6b87c0752137da86ad92d97474833da3 /accel-pppd/cli/std_cmd.c | |
| parent | 1c89473d04c74e224546c596608f227dcd77518b (diff) | |
| parent | cbd29e841d4a90cf93515ba8341a8bbdbd4dea38 (diff) | |
| download | accel-ppp-c0ee752358319ef3502cbd7604a9e8be5a18afd8.tar.gz accel-ppp-c0ee752358319ef3502cbd7604a9e8be5a18afd8.zip | |
Merge branch '1.7' of ssh://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp into 1.7
Diffstat (limited to 'accel-pppd/cli/std_cmd.c')
| -rw-r--r-- | accel-pppd/cli/std_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/cli/std_cmd.c b/accel-pppd/cli/std_cmd.c index 24e52283..d5259a53 100644 --- a/accel-pppd/cli/std_cmd.c +++ b/accel-pppd/cli/std_cmd.c @@ -42,7 +42,7 @@ static int show_stat_exec(const char *cmd, char * const *fields, int fields_cnt, hour = dt / (60 * 60); dt %= 60 * 60; - cli_sendv(client, "uptime: %i.%02i:%02i:%02i\r\n", day, hour, dt / 60, dt % 60); + cli_sendv(client, "uptime: %i.%02i:%02lu:%02lu\r\n", day, hour, dt / 60, dt % 60); cli_sendv(client, "cpu: %i%%\r\n", triton_stat.cpu); #ifdef MEMDEBUG cli_send(client, "memory:\r\n"); |
