* INTC Contribution to the O-RAN F Release for O-DU Low
[o-du/phy.git] / fhi_lib / lib / src / xran_sync_api.c
index 71c2b16..a8e18f9 100644 (file)
@@ -67,7 +67,7 @@ static int is_process_running(char *pname)
     }
 
     struct dirent *entry = NULL;
-    while (entry = readdir(dir)) {
+    while ((entry = readdir(dir))) {
         long pid = atol(entry->d_name);
         if (0 == pid)
             continue;