Changeset 9b56a8dd in mainline for uspace/drv/char/ps2mouse/ps2mouse.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
 
- 
          
  uspace/drv/char/ps2mouse/ps2mouse.c (modified) (4 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
uspace/drv/char/ps2mouse/ps2mouse.c
rb39eb79 r9b56a8dd 109 109 ssize_t size = char_dev_write(mouse->parent_sess, &report, 1); 110 110 if (size != 1) { 111 ddf_msg(LVL_ERROR, "Failed to write INIT. \n");111 ddf_msg(LVL_ERROR, "Failed to write INIT."); 112 112 async_hangup(mouse->parent_sess); 113 113 ddf_fun_unbind(mouse->mouse_fun); … … 119 119 size = char_dev_read(mouse->parent_sess, &report, 1); 120 120 if (size != 1 || report != PS2_MOUSE_ACK) { 121 ddf_msg(LVL_ERROR, "MOUSE FAILED TO ACK %hhx. \n", report);121 ddf_msg(LVL_ERROR, "MOUSE FAILED TO ACK %hhx.", report); 122 122 async_hangup(mouse->parent_sess); 123 123 ddf_fun_unbind(mouse->mouse_fun); … … 190 190 { 191 191 if (fun == NULL || fun->driver_data == NULL) { 192 ddf_msg(LVL_ERROR, "%s: Missing parameter. \n", __FUNCTION__);192 ddf_msg(LVL_ERROR, "%s: Missing parameter.", __FUNCTION__); 193 193 async_answer_0(icallid, EINVAL); 194 194 return; … … 222 222 } 223 223 default: 224 ddf_msg(LVL_ERROR, "Unknown method: %d. \n", (int)method);224 ddf_msg(LVL_ERROR, "Unknown method: %d.", (int)method); 225 225 async_answer_0(icallid, EINVAL); 226 226 break;  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  