From 1b8ad7de8f2935c698febd402c51c5344846ffbc Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 2 Jul 2004 01:38:17 +0000 Subject: [PATCH] trim leading whitespace regardless of (R) --- src/sigar_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sigar_util.c b/src/sigar_util.c index 51056550..2e3f2e7d 100644 --- a/src/sigar_util.c +++ b/src/sigar_util.c @@ -281,8 +281,8 @@ void sigar_cpu_model_adjust(sigar_t *sigar, sigar_cpu_info_t *info) ptr += len; if (IS_CPU_R(ptr)) { ptr += 3; /* remove (R) */ - while (*ptr == ' ') ++ptr; } + while (*ptr == ' ') ++ptr; } strcpy(info->model, ptr);