Permalink
Browse files

Fix typos.

  • Loading branch information...
1 parent d352ad6 commit b5b043b5489b9cac1bc904810f73966fa3c550b3 @chibacchie chibacchie committed Jul 5, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/lib/openflow_application_interface.c
  2. +1 −1 src/lib/utility.c
@@ -708,7 +708,7 @@ handle_features_reply( const uint64_t datapath_id, buffer *data ) {
ntoh_phy_port( p, phy_port );
append_to_tail( &phy_ports_head, ( void * ) p );
phy_port_to_string( p, description, sizeof( description ) );
- debug( "[%u] %s", phy_port, description );
+ debug( "[%p] %s", phy_port, description );
phy_port++;
}
}
View
@@ -294,7 +294,7 @@ phy_port_to_string( const struct ofp_phy_port *phy_port, char *str, size_t size
int ret = snprintf(
str,
size,
- "port_no = %u, hw_addr = %02x:%02x:%02x:%02x:%02x:%02x, "
+ "port_no = %u, hw_addr = %02x:%02x:%02x:%02x:%02x:%02x, "
"name = %s, config = %#x, state = %#x, "
"curr = %#x, advertised = %#x, supported = %#x, peer = %#x",
phy_port->port_no,

0 comments on commit b5b043b

Please sign in to comment.