diff --git a/src/zmc.cpp b/src/zmc.cpp index 9d47ac1da..76b16e6d0 100644 --- a/src/zmc.cpp +++ b/src/zmc.cpp @@ -258,7 +258,7 @@ int main( int argc, char *argv[] ) sigaddset( &block_set, SIGUSR1 ); sigaddset( &block_set, SIGUSR2 ); - monitors[0]->setStartTime( time(NULL) ); + monitors[0]->setStartupTime( (time_t)time(NULL) ); if ( monitors[0]->PrimeCapture() < 0 ) { Error( "Failed to prime capture of initial monitor" );