aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/arch/linux/common
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/arch/linux/common')
-rw-r--r--hardinfo2/arch/linux/common/filesystem.h4
-rw-r--r--hardinfo2/arch/linux/common/net.h5
2 files changed, 4 insertions, 5 deletions
diff --git a/hardinfo2/arch/linux/common/filesystem.h b/hardinfo2/arch/linux/common/filesystem.h
index 3581ccbb..b3008387 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 = h_strdup_cprintf("$FS%d$%s=%s total, %s free\n",
+ fs_list = h_strdup_cprintf("$FS%d$%s=%s|%s\n",
fs_list,
- count, tmp[0], strsize, stravail);
+ count, tmp[0], stravail, strsize);
g_free(strsize);
g_free(stravail);
diff --git a/hardinfo2/arch/linux/common/net.h b/hardinfo2/arch/linux/common/net.h
index 23cfa9da..8c083a9e 100644
--- a/hardinfo2/arch/linux/common/net.h
+++ b/hardinfo2/arch/linux/common/net.h
@@ -342,12 +342,11 @@ static void scan_net_interfaces_24(void)
network_interfaces =
h_strdup_cprintf
- ("$%s$%s=%s|Sent %.2lfMiB, received %.2lfMiB|%s\n",
+ ("$%s$%s=%s|Sent %.2lfMiB, received %.2lfMiB\n",
network_interfaces, devid, ifacename, ni.ip[0] ? ni.ip : "",
trans_mb, recv_mb);
-
net_get_iface_type(ifacename, &iface_type, &iface_icon, &ni);
-
+
network_icons = h_strdup_cprintf("Icon$%s$%s=%s.png\n",
network_icons, devid,
ifacename, iface_icon);