blob: d54ed747eb01527024b8d97a20457ada3a0c2ecb (
plain) (
tree)
|
|
/* See LICENSE file for copyright and license details. */
#include "common.h"
const char *
libsyscalls_strerror(enum libsyscalls_error error)
{
#define X(ENUM, STR)\
case ENUM: return STR
switch ((int)error) {
LIBSYSCALLS_LIST_ERRORS(X, ;);
default:
return "Unrecognised error";
}
#undef X
}
|