diff options
Diffstat (limited to 'lib/log.c')
| -rw-r--r-- | lib/log.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -990,7 +990,7 @@ static const struct zebra_desc_table *zroute_lookup(unsigned int zroute) if (zroute >= array_size(route_types)) { flog_err(EC_LIB_DEVELOPMENT, "unknown zebra route type: %u", - zroute); + zroute); return &unknown; } if (zroute == route_types[zroute].type) @@ -1005,8 +1005,7 @@ static const struct zebra_desc_table *zroute_lookup(unsigned int zroute) } } flog_err(EC_LIB_DEVELOPMENT, - "internal error: cannot find route type %u in table!", - zroute); + "internal error: cannot find route type %u in table!", zroute); return &unknown; } @@ -1024,7 +1023,7 @@ const char *zserv_command_string(unsigned int command) { if (command >= array_size(command_types)) { flog_err(EC_LIB_DEVELOPMENT, "unknown zserv command type: %u", - command); + command); return unknown.string; } return command_types[command].string; |
