From dccd1e9732d347d7d3eb2ce37b177504c865ad24 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 5 Jan 2017 13:54:34 -0500 Subject: [PATCH] fix --- src/zm_monitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_monitor.cpp b/src/zm_monitor.cpp index 4b72cdb2d..e0e90e172 100644 --- a/src/zm_monitor.cpp +++ b/src/zm_monitor.cpp @@ -380,7 +380,7 @@ Monitor::Monitor( mem_ptr = NULL; 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; if ( stat( monitor_dir, &statbuf ) ) {