From ea13b00556b1a7ff990e53fa371d29073f7f0e46 Mon Sep 17 00:00:00 2001 From: Yateesh Kumar Vusirika - Sun Microsystems - Bangalore India Date: Wed, 19 Nov 2008 11:52:29 +0530 Subject: 6770054 accounting tool should not give negative time values when the non-prime time is set to 2400 --- usr/src/cmd/acct/lib/pnpsplit.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'usr/src/cmd/acct/lib/pnpsplit.c') diff --git a/usr/src/cmd/acct/lib/pnpsplit.c b/usr/src/cmd/acct/lib/pnpsplit.c index eec5aea376..7942302730 100644 --- a/usr/src/cmd/acct/lib/pnpsplit.c +++ b/usr/src/cmd/acct/lib/pnpsplit.c @@ -252,10 +252,7 @@ inithol() h[1].h_hour = npstart / 100; } - h[1].h_sec = 0; - h[1].h_min = npstart%100; - h[1].h_hour = (npstart/100==24) ? 0 : npstart/100; - h[1].h_type = PRIME ; + h[1].h_type = PRIME; /* This is the end of the day */ h[2].h_sec = 0; -- cgit v1.2.3