Changeset ba519f7 in mainline for uspace/lib/drv/generic/driver.c
- Timestamp:
- 2010-12-02T17:21:30Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3bd76491
- Parents:
- 8ad673a (diff), 41a7f62 (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 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
r8ad673a rba519f7 48 48 #include <ctype.h> 49 49 #include <errno.h> 50 #include <inttypes.h> 50 51 51 52 #include <ipc/driver.h> … … 173 174 res = driver->driver_ops->add_device(dev); 174 175 if (0 == res) { 175 printf("%s: new device with handle = %xwas added.\n",176 printf("%s: new device with handle=%" PRIun " was added.\n", 176 177 driver->name, dev_handle); 177 178 } else { 178 printf("%s: failed to add a new device with handle = % d.\n",179 printf("%s: failed to add a new device with handle = %" PRIun ".\n", 179 180 driver->name, dev_handle); 180 181 remove_from_devices_list(dev); … … 225 226 if (dev == NULL) { 226 227 printf("%s: driver_connection_gen error - no device with handle" 227 " % xwas found.\n", driver->name, handle);228 " %" PRIun " was found.\n", driver->name, handle); 228 229 ipc_answer_0(iid, ENOENT); 229 230 return; … … 289 290 printf("%s: driver_connection_gen error - ", 290 291 driver->name); 291 printf("device with handle % dhas no interface "292 printf("device with handle %" PRIun " has no interface " 292 293 "with id %d.\n", handle, iface_idx); 293 294 ipc_answer_0(callid, ENOTSUP);
Note:
See TracChangeset
for help on using the changeset viewer.