git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace most uses of assert by ovs_assert.
[sliver-openvswitch.git]
/
lib
/
timeval.c
diff --git
a/lib/timeval.c
b/lib/timeval.c
index
d853989
..
d91305c
100644
(file)
--- a/
lib/timeval.c
+++ b/
lib/timeval.c
@@
-16,7
+16,6
@@
#include <config.h>
#include "timeval.h"
#include <config.h>
#include "timeval.h"
-#include <assert.h>
#include <errno.h>
#if HAVE_EXECINFO_H
#include <execinfo.h>
#include <errno.h>
#if HAVE_EXECINFO_H
#include <execinfo.h>
@@
-731,7
+730,7
@@
backtrace_cb(struct unixctl_conn *conn,
{
struct ds ds = DS_EMPTY_INITIALIZER;
{
struct ds ds = DS_EMPTY_INITIALIZER;
- assert(HAVE_EXECINFO_H && CACHE_TIME);
+
ovs_
assert(HAVE_EXECINFO_H && CACHE_TIME);
format_backtraces(&ds, 0);
unixctl_command_reply(conn, ds_cstr(&ds));
ds_destroy(&ds);
format_backtraces(&ds, 0);
unixctl_command_reply(conn, ds_cstr(&ds));
ds_destroy(&ds);