fix
This commit is contained in:
parent
2bc47a000c
commit
dccd1e9732
|
@ -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 ) ) {
|
||||||
|
|
Loading…
Reference in New Issue