X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=fhi_lib%2Flib%2Fsrc%2Fxran_sync_api.c;h=a8e18f9dbd8db9fd13738d3fb3363f66e2277ea4;hb=refs%2Fheads%2Fmaster;hp=a10fa1a8021e234c9b65c60448cbac6e4d26aece;hpb=2fbf70096f64af622da983e88c5a64e90ad9bdbd;p=o-du%2Fphy.git diff --git a/fhi_lib/lib/src/xran_sync_api.c b/fhi_lib/lib/src/xran_sync_api.c index a10fa1a..a8e18f9 100644 --- a/fhi_lib/lib/src/xran_sync_api.c +++ b/fhi_lib/lib/src/xran_sync_api.c @@ -1,6 +1,6 @@ /****************************************************************************** * -* Copyright (c) 2019 Intel. +* Copyright (c) 2020 Intel. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -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;