Changeset bbe7848 in mainline for uspace/srv/hid/fb/serial_console.c


Ignore:
Timestamp:
2010-11-26T14:19:00Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b12d3cc
Parents:
03171de (diff), ffdd2b9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

Local changes: removed extra parameters to printf (variables
that would be ignored anyway).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/fb/serial_console.c

    r03171de rbbe7848  
    4747#include <io/style.h>
    4848#include <str.h>
     49#include <inttypes.h>
    4950#include <io/screenbuffer.h>
    5051
     
    135136       
    136137        char control[MAX_CONTROL];
    137         snprintf(control, MAX_CONTROL, "\033[%u;%uf", row + 1, col + 1);
     138        snprintf(control, MAX_CONTROL, "\033[%" PRIun ";%" PRIun "f",
     139            row + 1, col + 1);
    138140        serial_puts(control);
    139141}
     
    253255{
    254256        char control[MAX_CONTROL];
    255         snprintf(control, MAX_CONTROL, "\033[0;%ur", last_row);
     257        snprintf(control, MAX_CONTROL, "\033[0;%" PRIun "r", last_row);
    256258        serial_puts(control);
    257259}
Note: See TracChangeset for help on using the changeset viewer.