# HG changeset patch # User melunko # Date 1186755619 -3600 # Node ID 13f38117f52018b396f694793b110f8bca139a0b # Parent 19626dc62c16a610c6dd97fc59da56253065a227 [svn r805] device info/details returning in bytes, not in kbytes as before diff -r 19626dc62c16 -r 13f38117f520 gmyth/src/gmyth_util.c --- a/gmyth/src/gmyth_util.c Fri Aug 10 14:45:36 2007 +0100 +++ b/gmyth/src/gmyth_util.c Fri Aug 10 15:20:19 2007 +0100 @@ -485,8 +485,8 @@ length = gmyth_socket_sendreceive_stringlist (sock, slist); if (length >= 8) { *details = g_new0 (GMythBackendDetails, 1); - (*details)->total_space = gmyth_string_list_get_uint64 (slist, 4); - (*details)->used_space = gmyth_string_list_get_uint64 (slist, 6); + (*details)->total_space = gmyth_string_list_get_uint64 (slist, 4) * 1024; + (*details)->used_space = gmyth_string_list_get_uint64 (slist, 6) * 1024; res = TRUE; }