summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/printf.c2
-rw-r--r--nest/rt-table.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/printf.c b/lib/printf.c
index a067fe98..4fd75c9b 100644
--- a/lib/printf.c
+++ b/lib/printf.c
@@ -169,7 +169,7 @@ int bvsnprintf(char *buf, int size, const char *fmt, va_list args)
case ' ': flags |= SPACE; goto repeat;
case '#': flags |= SPECIAL; goto repeat;
case '0': flags |= ZEROPAD; goto repeat;
- }
+ }
/* get field width */
field_width = -1;
diff --git a/nest/rt-table.c b/nest/rt-table.c
index 50c01c88..9baf2849 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -1777,7 +1777,7 @@ rt_next_hop_update_net(rtable *tab, net *n)
/* FIXME: Better announcement of merged routes */
rte_announce_i(tab, RA_MERGED, n, new, old_best, new, old_best);
- if (free_old_best)
+ if (free_old_best)
rte_free_quick(old_best);
return count;