/*
- * Copyright (C) 2006-2014 Andre Noll <maan@tuebingen.mpg.de>
+ * Copyright (C) 2006 Andre Noll <maan@tuebingen.mpg.de>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
#define AFT_ERRORS \
- PARA_ERROR(BAD_AFSI, "invaiid afs info"), \
+ PARA_ERROR(BAD_AFSI, "invalid afs info"), \
PARA_ERROR(LOCALTIME, "localtime() failed"), \
PARA_ERROR(STRFTIME, "strftime() failed"), \
PARA_ERROR(BAD_PATH, "invalid path"), \
* \return True if \a num is paraslash's representation of the system
* error identified by \a _errno.
*/
-_static_inline_ int is_errno(int num, int _errno)
+_static_inline_ bool is_errno(int num, int _errno)
{
assert(num > 0 && _errno > 0);
return ERRNO_TO_PARA_ERROR(_errno) == num;