Skip to content

Commit

Permalink
Fix compile warnings on Ubuntu 11.
Browse files Browse the repository at this point in the history
There may be more problems...it compiles fine for me on
Fedora, so I just fixed the errors you reported.

Reported-by: doi@criepi.denken.or.jp
Signed-off-by: Ben Greear <greearb@candelatech.com>
  • Loading branch information
greearb committed Jul 1, 2011
1 parent f3e6eea commit 935dda7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xorp/rib/rib.cc
Expand Up @@ -1579,10 +1579,10 @@ RIB<A>::print_rib() const
while (pair != _tables.end()) {
RouteTable<A>* rt = *pair;
printf("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n");
printf(rt->str().c_str());
printf("%s", rt->str().c_str());
rt = rt->next_table();
while (rt != NULL) {
printf(rt->str().c_str());
printf("%s", rt->str().c_str());
rt = rt->next_table();
}
++pair;
Expand Down

0 comments on commit 935dda7

Please sign in to comment.