summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1999-12-21 09:54:24 +0000
committerAndrew Tridgell <tridge@samba.org>1999-12-21 09:54:24 +0000
commit3da55bfb8e161a704d37b7c148ea4d07dc0111b4 (patch)
tree96cbd9ae73e248de163ce3112cf3fde696d359f3 /source3
parent488115dbcea1e6747b440d1b6d4da829d226a71f (diff)
downloadsamba-3da55bfb8e161a704d37b7c148ea4d07dc0111b4.tar.gz
samba-3da55bfb8e161a704d37b7c148ea4d07dc0111b4.tar.bz2
samba-3da55bfb8e161a704d37b7c148ea4d07dc0111b4.zip
changed %g to %3.1f to be friendly to our poor snprintf() code
(This used to be commit 6d506ee641a3e3dc9e1d3b3bbb78fe11b9326c70)
Diffstat (limited to 'source3')
-rw-r--r--source3/client/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 292da56497..bff0036505 100644
--- a/source3/client/client.c
+++ b/source3/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)));
}