This commit is contained in:
Isaac Connor 2017-01-05 13:54:34 -05:00
parent 2bc47a000c
commit dccd1e9732
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ Monitor::Monitor(
mem_ptr = NULL; mem_ptr = NULL;
char monitor_dir[PATH_MAX] = ""; char monitor_dir[PATH_MAX] = "";
snprintf( monitor_dir, sizeof(monitor_dir), "%s/%d", config.dir_events, Id ); snprintf( monitor_dir, sizeof(monitor_dir), "%s/%d", config.dir_events, id );
struct stat statbuf; struct stat statbuf;
if ( stat( monitor_dir, &statbuf ) ) { if ( stat( monitor_dir, &statbuf ) ) {