projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Drop flow information from odp_stats.
[openvswitch]
/
vswitchd
/
system-stats.c
diff --git
a/vswitchd/system-stats.c
b/vswitchd/system-stats.c
index 45b8cce64cf002145a427d4d7376e92cdc2f2f18..9c5a25c5ef482096cd16755a9b8a6e84efa3e858 100644
(file)
--- a/
vswitchd/system-stats.c
+++ b/
vswitchd/system-stats.c
@@
-387,9
+387,9
@@
get_process_stats(struct shash *stats)
struct dirent *de;
DIR *dir;
struct dirent *de;
DIR *dir;
- dir = opendir(ovs_rundir);
+ dir = opendir(ovs_rundir
()
);
if (!dir) {
if (!dir) {
- VLOG_ERR_ONCE("%s: open failed (%s)", ovs_rundir, strerror(errno));
+ VLOG_ERR_ONCE("%s: open failed (%s)", ovs_rundir
()
, strerror(errno));
return;
}
return;
}
@@
-411,7
+411,7
@@
get_process_stats(struct shash *stats)
continue;
}
continue;
}
- file_name = xasprintf("%s/%s", ovs_rundir, de->d_name);
+ file_name = xasprintf("%s/%s", ovs_rundir
()
, de->d_name);
pid = read_pidfile(file_name);
free(file_name);
if (pid < 0 || kill(pid, 0)) {
pid = read_pidfile(file_name);
free(file_name);
if (pid < 0 || kill(pid, 0)) {