diff options
author | Ben Pfaff <blp@nicira.com> | 2012-11-06 13:14:55 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-01-16 16:03:37 -0800 |
commit | cb22974d773942d66da42b700b8bca0db27a0920 (patch) | |
tree | 6412724be1bfc46d7235c4e2105c279bbe20d320 /lib/reconnect.c | |
parent | 4749f73d12c844b318af7f45cf45e1acac9f7c08 (diff) | |
download | openvswitch-cb22974d773942d66da42b700b8bca0db27a0920.tar.gz |
Replace most uses of assert by ovs_assert.
This is a straight search-and-replace, except that I also removed #include
<assert.h> from each file where there were no assert calls left.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'lib/reconnect.c')
-rw-r--r-- | lib/reconnect.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/reconnect.c b/lib/reconnect.c index 0f1e06275..40cc7fcef 100644 --- a/lib/reconnect.c +++ b/lib/reconnect.c @@ -17,7 +17,6 @@ #include <config.h> #include "reconnect.h" -#include <assert.h> #include <stdlib.h> #include "poll-loop.h" @@ -503,7 +502,7 @@ reconnect_transition__(struct reconnect *fsm, long long int now, static long long int reconnect_deadline__(const struct reconnect *fsm) { - assert(fsm->state_entered != LLONG_MIN); + ovs_assert(fsm->state_entered != LLONG_MIN); switch (fsm->state) { case S_VOID: case S_LISTENING: |