Changeset 24ab58b3 in mainline for uspace/srv/net/il/arp/arp.c
- Timestamp:
- 2010-04-06T11:41:48Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 14f1db0
- Parents:
- 4dd8529
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/arp/arp.c
r4dd8529 r24ab58b3 68 68 /** ARP module name. 69 69 */ 70 #define NAME "ARP protocol"70 #define NAME "arp" 71 71 72 72 /** ARP global data. … … 338 338 return ERROR_CODE; 339 339 } 340 printf("New device registered:\n\tid\t= %d\n\ttype\t= 0x%x\n\tservice\t= %d\n\tproto\t= %d\n", device->device_id, device->hardware, device->service, protocol); 340 printf("%s: Device registered (id: %d, type: 0x%x, service: %d, proto: %d)\n", 341 NAME, device->device_id, device->hardware, device->service, protocol); 341 342 } 342 343 fibril_rwlock_write_unlock(&arp_globals.lock); … … 673 674 ERROR_DECLARE; 674 675 675 /* Print the module label */ 676 printf("Task %d - %s\n", task_get_id(), NAME); 676 /* Start the module */ 677 if (ERROR_OCCURRED(il_module_start(il_client_connection))) 678 return ERROR_CODE; 677 679 678 /* Start the module */679 if (ERROR_OCCURRED(il_module_start(il_client_connection))) {680 printf(" - ERROR %i\n", ERROR_CODE);681 return ERROR_CODE;682 }683 684 680 return EOK; 685 681 }
Note:
See TracChangeset
for help on using the changeset viewer.