Changeset 9b56a8dd in mainline for uspace/drv/char/ps2mouse/ps2mouse.c


Ignore:
Timestamp:
2011-12-26T19:53:31Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4005e37a
Parents:
b39eb79
Message:

i8042, ps2mouse, xtkbd:Drop newlines at the end of ddf_msg messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/char/ps2mouse/ps2mouse.c

    rb39eb79 r9b56a8dd  
    109109        ssize_t size = char_dev_write(mouse->parent_sess, &report, 1);
    110110        if (size != 1) {
    111                 ddf_msg(LVL_ERROR, "Failed to write INIT.\n");
     111                ddf_msg(LVL_ERROR, "Failed to write INIT.");
    112112                async_hangup(mouse->parent_sess);
    113113                ddf_fun_unbind(mouse->mouse_fun);
     
    119119        size = char_dev_read(mouse->parent_sess, &report, 1);
    120120        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);
    122122                async_hangup(mouse->parent_sess);
    123123                ddf_fun_unbind(mouse->mouse_fun);
     
    190190{
    191191        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__);
    193193                async_answer_0(icallid, EINVAL);
    194194                return;
     
    222222        }
    223223        default:
    224                 ddf_msg(LVL_ERROR, "Unknown method: %d.\n", (int)method);
     224                ddf_msg(LVL_ERROR, "Unknown method: %d.", (int)method);
    225225                async_answer_0(icallid, EINVAL);
    226226                break;
Note: See TracChangeset for help on using the changeset viewer.