Changeset 9b56a8dd in mainline for uspace/drv/char/ps2mouse/main.c
- Timestamp:
- 2011-12-26T19:53:31Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4005e37a
- Parents:
- b39eb79
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/ps2mouse/main.c
rb39eb79 r9b56a8dd 90 90 ps2_mouse_t *mouse = ddf_dev_data_alloc(device, sizeof(ps2_mouse_t)); 91 91 int ret = (mouse == NULL) ? ENOMEM : EOK; 92 CHECK_RET_RETURN(ret, "Failed to allocate mouse driver instance. \n");92 CHECK_RET_RETURN(ret, "Failed to allocate mouse driver instance."); 93 93 94 94 ret = ps2_mouse_init(mouse, device); 95 95 CHECK_RET_RETURN(ret, 96 "Failed to initialize mouse driver: %s. \n", str_error(ret));96 "Failed to initialize mouse driver: %s.", str_error(ret)); 97 97 98 ddf_msg(LVL_NOTE, "Controlling '%s' (%" PRIun "). \n",98 ddf_msg(LVL_NOTE, "Controlling '%s' (%" PRIun ").", 99 99 device->name, device->handle); 100 100 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.