Changeset 8ad5470 in mainline for uspace/app/inet/inet.c
- Timestamp:
- 2012-05-24T15:30:53Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fa3704d
- Parents:
- 15b794d (diff), df3f85f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/inet/inet.c
r15b794d r8ad5470 27 27 */ 28 28 29 /** @addtogroup inet cfg29 /** @addtogroup inet 30 30 * @{ 31 31 */ … … 43 43 #include <sys/types.h> 44 44 45 #define NAME "inet cfg"45 #define NAME "inet" 46 46 47 47 static void print_syntax(void) … … 187 187 rc = inetcfg_addr_create_static(aobj_name, &naddr, link_id, &addr_id); 188 188 if (rc != EOK) { 189 printf(NAME ": Failed creating static address '%s' (% d)\n",190 aobj_name, rc);189 printf(NAME ": Failed creating static address '%s' (%s)\n", 190 aobj_name, str_error(rc)); 191 191 return EIO; 192 192 } … … 345 345 346 346 printf("Configured addresses:\n"); 347 347 if (count > 0) 348 printf(" [Addr/Width] [Link-Name] [Addr-Name] [Def-MTU]\n"); 348 349 ainfo.name = linfo.name = astr = NULL; 349 350 … … 415 416 416 417 printf("Static routes:\n"); 418 if (count > 0) 419 printf(" [Dest/Width] [Router-Addr] [Route-Name]\n"); 417 420 418 421 srinfo.name = dest_str = router_str = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.