Update to odulow per maintenance bronze
[o-du/phy.git] / fhi_lib / lib / src / xran_sync_api.c
index a10fa1a..c45d83c 100644 (file)
@@ -71,7 +71,7 @@ static int is_process_running(char *pname)
         long pid = atol(entry->d_name);
         if (0 == pid)
             continue;
-        snprintf(full_path, sizeof(full_path), "%s/%ld/%s", PROC_DIR, pid, COMM_FILE);
+        sprintf(full_path, "%s/%ld/%s", PROC_DIR, pid, COMM_FILE);
         FILE *proc_name_file = fopen(full_path, "r");
         if (NULL == proc_name_file)
             continue;