bosadmin-setrestarttime-should-take-a-structure-20010816

bos_ExecutableRestartTimeSet called BOZO_SetRestartTime incorrectly
This commit is contained in:
Jeremy Stribling 2001-08-16 08:56:51 +00:00 committed by Derrick Brashear
parent 120e1ef570
commit 6a1c9c896c

View File

@ -3112,7 +3112,7 @@ int ADMINAPI bos_ExecutableRestartTimeSet(
restartTime.sec = time.sec;
restartTime.day = time.day;
tst = BOZO_SetRestartTime(b_handle->server, restartType, restartTime);
tst = BOZO_SetRestartTime(b_handle->server, restartType, &restartTime);
if (tst == 0) {
rc = 1;