[maemo-commits] [maemo-commits] r13495 - projects/haf/trunk/hildon-fm/hildon-fm

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Aug 30 16:55:41 EEST 2007
Author: marivoll
Date: 2007-08-30 16:55:40 +0300 (Thu, 30 Aug 2007)
New Revision: 13495

Modified:
   projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-storage-dialog.c
Log:
	* hildon-fm/hildon-file-system-storage-dialog.c
	(file_system_storage_dialog_stats_get_disk): Use f_bavail instead
	of f_bfree, which is the right thing to do.


Modified: projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-storage-dialog.c
===================================================================
--- projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-storage-dialog.c	2007-08-30 13:55:25 UTC (rev 13494)
+++ projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-storage-dialog.c	2007-08-30 13:55:40 UTC (rev 13495)
@@ -599,7 +599,7 @@
                 }
 
                 if (available) {
-                        *available = st.f_bfree;
+                        *available = st.f_bavail;
 			*available *= st.f_bsize;
                 }
 


More information about the maemo-commits mailing list