X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Freconnect.c;h=773190bdfc01d9543b65e267f3740d92c0e17a36;hb=8497dd41214ddaac26928f2efa90becd1b336a52;hp=372c2ebdceae167e509082c9324092dfc4be1a16;hpb=36a7b32d790f2cee735520060a9b6221b7ae25ef;p=openvswitch diff --git a/lib/reconnect.c b/lib/reconnect.c index 372c2ebd..773190bd 100644 --- a/lib/reconnect.c +++ b/lib/reconnect.c @@ -21,10 +21,10 @@ #include #include "poll-loop.h" - -#define THIS_MODULE VLM_reconnect #include "vlog.h" +VLOG_DEFINE_THIS_MODULE(reconnect) + #define STATES \ STATE(VOID, 1 << 0) \ STATE(BACKOFF, 1 << 1) \ @@ -379,7 +379,8 @@ reconnect_disconnected(struct reconnect *fsm, long long int now, int error) /* Tell 'fsm' that a connection or listening attempt is in progress. * * The FSM will start a timer, after which the connection or listening attempt - * will be aborted (by returning RECONNECT_DISCONNECT from reconect_run()). */ + * will be aborted (by returning RECONNECT_DISCONNECT from + * reconnect_run()). */ void reconnect_connecting(struct reconnect *fsm, long long int now) {