Changeset 0d59d0e9 in mainline


Ignore:
Timestamp:
2011-05-27T18:00:04Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
48141f0
Parents:
6bbbcabe
Message:

Fix printf directives

Location:
uspace
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/generic/hiddev.c

    r6bbbcabe r0d59d0e9  
    9999        usb_hid_dev_t *hid_dev = (usb_hid_dev_t *)fun->driver_data;
    100100       
    101         usb_log_debug2("hid_dev: %p, Max input report size (%d).\n",
     101        usb_log_debug2("hid_dev: %p, Max input report size (%zu).\n",
    102102            hid_dev, hid_dev->max_input_report_size);
    103103       
     
    226226        }
    227227       
    228         usb_log_debug("HID function created. Handle: %d\n", fun->handle);
     228        usb_log_debug("HID function created. Handle: %" PRIun "\n", fun->handle);
    229229       
    230230        return EOK;
  • uspace/drv/usbhid/kbd/kbddev.c

    r6bbbcabe r0d59d0e9  
    798798        }
    799799       
    800         usb_log_debug("%s function created. Handle: %d\n", HID_KBD_FUN_NAME,
    801             fun->handle);
     800        usb_log_debug("%s function created. Handle: %" PRIun "\n",
     801            HID_KBD_FUN_NAME, fun->handle);
    802802       
    803803        usb_log_debug("Adding DDF function to class %s...\n",
  • uspace/drv/usbhid/multimedia/multimedia.c

    r6bbbcabe r0d59d0e9  
    211211        }
    212212       
    213         usb_log_debug("%s function created. Handle: %d\n", NAME, fun->handle);
     213        usb_log_debug("%s function created (jandle: %" PRIun ").\n",
     214            NAME, fun->handle);
    214215       
    215216        rc = ddf_fun_add_to_class(fun, "keyboard");
  • uspace/lib/drv/generic/driver.c

    r6bbbcabe r0d59d0e9  
    405405                                /* The interface has not such method */
    406406                                printf("%s: driver_connection_gen error - "
    407                                     "invalid interface method (%d).\n",
     407                                    "invalid interface method "
     408                                    "(index %" PRIun ").\n",
    408409                                    driver->name, iface_method_idx);
    409410                                async_answer_0(callid, ENOTSUP);
Note: See TracChangeset for help on using the changeset viewer.