Changeset c1694b6b in mainline for uspace/app/tester/mm/mapping1.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/tester/mm/mapping1.c

    r9eb1ff5 rc1694b6b  
    3030#include <stdlib.h>
    3131#include <stddef.h>
     32#include <str_error.h>
    3233#include <as.h>
    3334#include <errno.h>
     
    7475                int rc = as_get_physical_mapping(page_start, NULL);
    7576                if (rc != expected_rc) {
    76                         TPRINTF("as_get_physical_mapping() = %d != %d\n",
    77                             rc, expected_rc);
     77                        TPRINTF("as_get_physical_mapping() = %s != %s\n",
     78                            str_error_name(rc), str_error_name(expected_rc));
    7879                        return false;
    7980                }
Note: See TracChangeset for help on using the changeset viewer.