From 9681a90314b18ef37a89cc36e1d4ccb08f1aac33 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Tue, 31 Jan 2012 23:02:04 -0500 Subject: [PATCH] Rename Idle_Times() to Unidle_Times() The function was just named incorrectly and already returned desc->unidle_times. Fixes #259 --- src/bsd.c | 2 +- src/function.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bsd.c b/src/bsd.c index 6ac6c96..5926ad6 100644 --- a/src/bsd.c +++ b/src/bsd.c @@ -4632,7 +4632,7 @@ FUNCTION(fun_idle_total) { } /* ARGSUSED */ -FUNCTION(fun_idle_times) { +FUNCTION(fun_unidle_times) { DESC *match = lookup_desc(executor, args[0]); if(match) { diff --git a/src/function.c b/src/function.c index 701a5eb..035a351 100644 --- a/src/function.c +++ b/src/function.c @@ -679,7 +679,7 @@ FUNTAB flist[] = { {"ULDEFAULT", fun_uldefault, 1, 12, FN_NOPARSE}, {"ULOCAL", fun_ulocal, 1, 11, FN_REG}, {"UNIQUE", fun_unique, 1, 4, FN_REG}, - {"IDLE_TIMES", fun_idle_times, 1, 1, FN_REG}, + {"UNIDLE_TIMES", fun_unidle_times, 1, 1, FN_REG}, {"UTCTIME", fun_time, 0, 0, FN_REG}, {"U", fun_ufun, 1, 11, FN_REG}, {"V", fun_v, 1, 1, FN_REG}, -- 2.30.2