1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ad,v 1.6 2002/12/17 19:14:43 wiz Exp $
--- src/dctc_process.c.orig Sat Nov 16 08:10:25 2002
+++ src/dctc_process.c
@@ -575,9 +575,9 @@ static void update_users_info(void)
sprintf(buf,"%'d users (%'.2lfGB)",clst->rows,amount/(1024.0*1024.0*1024.0)); /* NO_PRINTF_LOCAL support added */
#else
if( (amount/(1024.0*1024.0*1024.0)) > 1024.0)
- sprintf(buf,"%d users (%.2lfTB)",clst->rows,amount/(1024.0*1024.0*1024.0*1024.0));
+ sprintf(buf,"%d users (%.2fTB)",clst->rows,amount/(1024.0*1024.0*1024.0*1024.0));
else
- sprintf(buf,"%d users (%.2lfGB)",clst->rows,amount/(1024.0*1024.0*1024.0));
+ sprintf(buf,"%d users (%.2fGB)",clst->rows,amount/(1024.0*1024.0*1024.0));
#endif
w=get_widget_by_widget_name("users_info_label");
if(w==NULL)
|