diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-07-02 17:19:18 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-07-02 17:19:18 +0000 |
commit | ed4d0b93832732a199f4fb07c70350401f2eaceb (patch) | |
tree | 99e6d12e264c5497be084d3053b7eb8a6ef5348a /hardinfo2 | |
parent | b3263184f2849f394f0324165452241aba6c810e (diff) |
Fix filesystem info.
Diffstat (limited to 'hardinfo2')
-rw-r--r-- | hardinfo2/arch/linux/common/filesystem.h | 4 | ||||
-rw-r--r-- | hardinfo2/shell.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/hardinfo2/arch/linux/common/filesystem.h b/hardinfo2/arch/linux/common/filesystem.h index 74c019e0..b08bd39c 100644 --- a/hardinfo2/arch/linux/common/filesystem.h +++ b/hardinfo2/arch/linux/common/filesystem.h @@ -81,9 +81,9 @@ scan_filesystems(void) stravail); g_hash_table_insert(moreinfo, g_strdup_printf("FS%d", ++count), strhash); - fs_list = g_strdup_printf("%s$%s$%s=%s total, %s free\n", + fs_list = g_strdup_printf("%s$FS%d$%s=%s total, %s free\n", fs_list, - tmp[0], tmp[0], strsize, stravail); + count, tmp[0], strsize, stravail); g_free(strsize); g_free(stravail); diff --git a/hardinfo2/shell.c b/hardinfo2/shell.c index 11c42839..6174ed40 100644 --- a/hardinfo2/shell.c +++ b/hardinfo2/shell.c @@ -1260,7 +1260,7 @@ static ShellInfoTree *info_tree_new(gboolean extra) (GCallback) info_selected, info); gtk_container_add(GTK_CONTAINER(scroll), treeview); - + info->scroll = scroll; info->view = treeview; info->model = model; |