From 50c9906901adc027f9c54ba2a1e1e0dafb2fb130 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Tue, 31 Jan 2012 23:14:43 -0500 Subject: [PATCH] Cherry-pick Unidle_Times() fix from 0.73-development branch --- 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 b4bd7a9..60ed106 100644 --- a/src/bsd.c +++ b/src/bsd.c @@ -4737,7 +4737,7 @@ FUNCTION(fun_idle_total) } /* ARGSUSED */ -FUNCTION(fun_idle_times) +FUNCTION(fun_unidle_times) { DESC *match = lookup_desc(executor, args[0]); diff --git a/src/function.c b/src/function.c index ef61c5d..e4cded5 100644 --- a/src/function.c +++ b/src/function.c @@ -737,7 +737,7 @@ FUNTAB flist[] = { {"ULDEFAULT", fun_udefault, 1, 12, FN_NOPARSE | FN_LOCALIZE}, {"ULOCAL", fun_ufun, 1, 11, FN_REG | FN_LOCALIZE}, {"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