Changeset c1694b6b in mainline for uspace/app/bnchmark/bnchmark.c


Ignore:
Timestamp:
2017-12-08T21:03:35Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f77c1c9
Parents:
9eb1ff5
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-07 18:20:13)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 21:03:35)
Message:

Add str_error() in numerous places.

File:
1 edited

Legend:

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

    r9eb1ff5 rc1694b6b  
    4141#include <stdlib.h>
    4242#include <stdint.h>
     43#include <str_error.h>
    4344#include <mem.h>
    4445#include <loc.h>
     
    186187                rc = measure(fn, path, &milliseconds_taken);
    187188                if (rc != EOK) {
    188                         fprintf(stderr, "Error %d\n", rc);
     189                        fprintf(stderr, "Error: %s\n", str_error(rc));
    189190                        return 1;
    190191                }
Note: See TracChangeset for help on using the changeset viewer.