Changeset f9b2cb4c in mainline for uspace/app/nic/nic.c
- Timestamp:
- 2015-08-23T12:50:23Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9ef495f
- Parents:
- 0dd16778
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nic/nic.c
r0dd16778 rf9b2cb4c 99 99 printf("Using device: %s\n", svc_name); 100 100 101 sess = loc_service_connect( EXCHANGE_SERIALIZE, nics[i], 0);101 sess = loc_service_connect(nics[i], INTERFACE_DDF, 0); 102 102 if (sess == NULL) { 103 103 printf("Error connecting to service.\n"); … … 117 117 int rc; 118 118 119 sess = loc_service_connect( EXCHANGE_SERIALIZE, svc_id, 0);119 sess = loc_service_connect(svc_id, INTERFACE_DDF, 0); 120 120 if (sess == NULL) { 121 121 printf("Error connecting to service.\n"); 122 122 goto error; 123 123 } 124 124 125 125 rc = nic_get_address(sess, &info->address); 126 126 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.