diff options
author | Andrew Tridgell <tridge@samba.org> | 1999-12-21 09:54:24 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1999-12-21 09:54:24 +0000 |
commit | 6d506ee641a3e3dc9e1d3b3bbb78fe11b9326c70 (patch) | |
tree | 69f87583b1e6c09d40870c73fa05c4f81f06fae3 /source/client | |
parent | 835b9881c0f04d766545d5e9d2926fbaf8bec904 (diff) | |
download | samba-6d506ee641a3e3dc9e1d3b3bbb78fe11b9326c70.tar.gz samba-6d506ee641a3e3dc9e1d3b3bbb78fe11b9326c70.tar.xz samba-6d506ee641a3e3dc9e1d3b3bbb78fe11b9326c70.zip |
changed %g to %3.1f to be friendly to our poor snprintf() code
Diffstat (limited to 'source/client')
-rw-r--r-- | source/client/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/client/client.c b/source/client/client.c index 292da56497b..bff00365050 100644 --- a/source/client/client.c +++ b/source/client/client.c @@ -735,7 +735,7 @@ static void do_get(char *rname,char *lname) get_total_time_ms += this_time; get_total_size += nread; - DEBUG(2,("(%g kb/s) (average %g kb/s)\n", + DEBUG(2,("(%3.1f kb/s) (average %3.1f kb/s)\n", nread / (1.024*this_time + 1.0e-4), get_total_size / (1.024*get_total_time_ms))); } @@ -1053,7 +1053,7 @@ static void do_put(char *rname,char *lname) put_total_time_ms += this_time; put_total_size += nread; - DEBUG(1,("(%g kb/s) (average %g kb/s)\n", + DEBUG(1,("(%3.1f kb/s) (average %3.1f kb/s)\n", nread / (1.024*this_time + 1.0e-4), put_total_size / (1.024*put_total_time_ms))); } |