Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/fontviewer/fontviewer.c

    r05b59393 rc1694b6b  
    3636#include <stdlib.h>
    3737#include <errno.h>
    38 #include <malloc.h>
     38#include <stdlib.h>
    3939#include <stdbool.h>
     40#include <str_error.h>
    4041#include <window.h>
    4142#include <canvas.h>
     
    9798        int rc = draw();
    9899        if (rc != EOK) {
    99                 printf("Failed drawing: %d.\n", rc);
     100                printf("Failed drawing: %s.\n", str_error(rc));
    100101                exit(1);
    101102        }
     
    276277        int rc = draw();
    277278        if (rc != EOK) {
    278                 printf("Failed drawing: %d.\n", rc);
     279                printf("Failed drawing: %s.\n", str_error(rc));
    279280                return 2;
    280281        }
Note: See TracChangeset for help on using the changeset viewer.