From ab149c6b07e5e183a0ad4dec6c886f06df6d2efc Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sun, 19 Apr 2009 10:01:20 -0300 Subject: Clean up CPU description on benchmark display --- hardinfo2/arch/linux/common/storage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hardinfo2/arch/linux/common/storage.h') 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); -- cgit v1.2.3