diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-03 18:03:29 +0000 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-14 20:02:05 +0000 | 
| commit | af4c27286d8eb3f347ff431a17a47a8d07cd8976 (patch) | |
| tree | caf5eae55c21f72baec4945cdb2cbc333d99f916 /babeld/babeld.c | |
| parent | fa8b3ca66abee50e57034ef594883011f302057b (diff) | |
*: rename zlog_fer -> flog_err
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'babeld/babeld.c')
| -rw-r--r-- | babeld/babeld.c | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/babeld/babeld.c b/babeld/babeld.c index dd07671428..b05f26919f 100644 --- a/babeld/babeld.c +++ b/babeld/babeld.c @@ -145,7 +145,7 @@ babel_create_routing_process (void)      /* Make socket for Babel protocol. */      protocol_socket = babel_socket(protocol_port);      if (protocol_socket < 0) { -        zlog_ferr(LIB_ERR_SOCKET, "Couldn't create link local socket: %s", +        flog_err(LIB_ERR_SOCKET, "Couldn't create link local socket: %s",  		  safe_strerror(errno));          goto fail;      } @@ -179,7 +179,7 @@ babel_read_protocol (struct thread *thread)                      (struct sockaddr*)&sin6, sizeof(sin6));      if(rc < 0) {          if(errno != EAGAIN && errno != EINTR) { -            zlog_ferr(LIB_ERR_SOCKET, "recv: %s", safe_strerror(errno)); +            flog_err(LIB_ERR_SOCKET, "recv: %s", safe_strerror(errno));          }      } else {          FOR_ALL_INTERFACES(vrf, ifp) { @@ -255,12 +255,12 @@ babel_get_myid(void)          return;      } -    zlog_ferr(BABEL_ERR_CONFIG, +    flog_err(BABEL_ERR_CONFIG,  	      "Warning: couldn't find router id -- using random value.");      rc = read_random_bytes(myid, 8);      if(rc < 0) { -        zlog_ferr(BABEL_ERR_CONFIG, "read(random): %s (cannot assign an ID)", +        flog_err(BABEL_ERR_CONFIG, "read(random): %s (cannot assign an ID)",  		  safe_strerror(errno));          exit(1);      } @@ -519,7 +519,7 @@ resize_receive_buffer(int size)      if(receive_buffer == NULL) {          receive_buffer = malloc(size);          if(receive_buffer == NULL) { -            zlog_ferr(BABEL_ERR_MEMORY, "malloc(receive_buffer): %s", +            flog_err(BABEL_ERR_MEMORY, "malloc(receive_buffer): %s",  		      safe_strerror(errno));              return -1;          } @@ -528,7 +528,7 @@ resize_receive_buffer(int size)          unsigned char *new;          new = realloc(receive_buffer, size);          if(new == NULL) { -            zlog_ferr(BABEL_ERR_MEMORY, "realloc(receive_buffer): %s", +            flog_err(BABEL_ERR_MEMORY, "realloc(receive_buffer): %s",  		      safe_strerror(errno));              return -1;          }  | 
