Code Review
/
o-du
/
phy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
O-RAN E Maintenance Release contribution for ODULOW
[o-du/phy.git]
/
fhi_lib
/
lib
/
src
/
xran_sync_api.c
diff --git
a/fhi_lib/lib/src/xran_sync_api.c
b/fhi_lib/lib/src/xran_sync_api.c
index
c45d83c
..
71c2b16
100644
(file)
--- a/
fhi_lib/lib/src/xran_sync_api.c
+++ b/
fhi_lib/lib/src/xran_sync_api.c
@@
-1,6
+1,6
@@
/******************************************************************************
*
/******************************************************************************
*
-* Copyright (c) 20
19
Intel.
+* Copyright (c) 20
20
Intel.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-71,7
+71,7
@@
static int is_process_running(char *pname)
long pid = atol(entry->d_name);
if (0 == pid)
continue;
long pid = atol(entry->d_name);
if (0 == pid)
continue;
- s
printf(full_path
, "%s/%ld/%s", PROC_DIR, pid, COMM_FILE);
+ s
nprintf(full_path, sizeof(full_path)
, "%s/%ld/%s", PROC_DIR, pid, COMM_FILE);
FILE *proc_name_file = fopen(full_path, "r");
if (NULL == proc_name_file)
continue;
FILE *proc_name_file = fopen(full_path, "r");
if (NULL == proc_name_file)
continue;