summaryrefslogtreecommitdiff
path: root/hardinfo2/arch/linux/common/storage.h
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2009-04-19 10:01:20 -0300
committerLeandro Pereira <leandro@hardinfo.org>2009-04-19 10:01:20 -0300
commitab149c6b07e5e183a0ad4dec6c886f06df6d2efc (patch)
treeab903683a7f83193de945cff42d9a9a1f00df07c /hardinfo2/arch/linux/common/storage.h
parentb8ec48cc434da4c35e574cdd8d9c7465f101799c (diff)
Clean up CPU description on benchmark display
Diffstat (limited to 'hardinfo2/arch/linux/common/storage.h')
-rw-r--r--hardinfo2/arch/linux/common/storage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo2/arch/linux/common/storage.h b/hardinfo2/arch/linux/common/storage.h
index 06593a09..7caf1d96 100644
--- a/hardinfo2/arch/linux/common/storage.h
+++ b/hardinfo2/arch/linux/common/storage.h
@@ -239,7 +239,7 @@ __scan_ide_devices(void)
}
} else if ((strstr(buf, "read") || strstr(buf, "write")) && strstr(buf, "kB/s")) {
speed = g_strconcat(speed ? speed : "",
- strreplace(g_strstrip(buf), ":", '='),
+ strreplacechr(g_strstrip(buf), ":", '='),
"\n", NULL);
} else if (strstr(buf, "Device seems to be")) {
driver = g_strdup_printf("Driver=%s\n", strchr(buf, ':') + 1);