Changeset 7e752b2 in mainline for uspace/srv/hid/console/console.c
- Timestamp:
- 2010-11-26T01:33:20Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bf61d3a
- Parents:
- 202f57b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/console/console.c
r202f57b r7e752b2 804 804 if (screenbuffer_init(&consoles[i].scr, 805 805 fb_info.cols, fb_info.rows) == NULL) { 806 printf(NAME ": Unable to allocate screen buffer % u\n", i);806 printf(NAME ": Unable to allocate screen buffer %zu\n", i); 807 807 return false; 808 808 } … … 813 813 814 814 char vc[DEVMAP_NAME_MAXLEN + 1]; 815 snprintf(vc, DEVMAP_NAME_MAXLEN, "%s/vc% u", NAMESPACE, i);815 snprintf(vc, DEVMAP_NAME_MAXLEN, "%s/vc%zu", NAMESPACE, i); 816 816 817 817 if (devmap_device_register(vc, &consoles[i].devmap_handle) != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.