Changes in uspace/lib/drv/generic/driver.c [7e752b2:cb819f9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
r7e752b2 rcb819f9 48 48 #include <ctype.h> 49 49 #include <errno.h> 50 #include <inttypes.h>51 50 52 51 #include <ipc/driver.h> … … 174 173 res = driver->driver_ops->add_device(dev); 175 174 if (0 == res) { 176 printf("%s: new device with handle =%" PRIun "was added.\n",175 printf("%s: new device with handle = %x was added.\n", 177 176 driver->name, dev_handle); 178 177 } else { 179 printf("%s: failed to add a new device with handle = % " PRIun ".\n",178 printf("%s: failed to add a new device with handle = %d.\n", 180 179 driver->name, dev_handle); 181 180 remove_from_devices_list(dev); … … 226 225 if (dev == NULL) { 227 226 printf("%s: driver_connection_gen error - no device with handle" 228 " % " PRIun "was found.\n", driver->name, handle);227 " %x was found.\n", driver->name, handle); 229 228 ipc_answer_0(iid, ENOENT); 230 229 return; … … 290 289 printf("%s: driver_connection_gen error - ", 291 290 driver->name); 292 printf("device with handle % " PRIun "has no interface "291 printf("device with handle %d has no interface " 293 292 "with id %d.\n", handle, iface_idx); 294 293 ipc_answer_0(callid, ENOTSUP);
Note:
See TracChangeset
for help on using the changeset viewer.