From: William King Date: Sat, 18 May 2013 21:29:59 +0000 (-0700) Subject: Minor typo. User is being passed into this fuction as a long pointer, not a long. X-Git-Tag: v1.2.10~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fc1369a1b91c4070628f4ac85d1e9576d67f744;p=thirdparty%2Ffreeswitch.git Minor typo. User is being passed into this fuction as a long pointer, not a long. --- diff --git a/src/switch_profile.c b/src/switch_profile.c index b4171ef6f2..0f64a5b5f7 100644 --- a/src/switch_profile.c +++ b/src/switch_profile.c @@ -137,7 +137,7 @@ static int read_cpu_stats(switch_profile_timer_t *p, /* test each of the known formats starting from the bigger one */ elements = sscanf(cpustr, CPU_INFO_FORMAT_3, user, nice, system, idle, iowait, irq, softirq, steal, &guest); if (elements == CPU_ELEMENTS_3) { - user += guest; /* guest operating system's run in user space */ + *user += guest; /* guest operating system's run in user space */ return 0; }