Remove _KERNEL hack now that errno.h does the right thing when

_STANDALONE is defined.

Sponsored By: Netflix
This commit is contained in:
Warner Losh 2017-12-08 19:56:57 +00:00
parent 49cb01302c
commit c008ab0879
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326708

View File

@ -72,10 +72,7 @@
#define CHK(fmt, args...) printf("%s(%d): " fmt "\n", __func__, __LINE__ , ##args)
#define PCHK(fmt, args...) {printf("%s(%d): " fmt "\n", __func__, __LINE__ , ##args); getchar();}
/* Avoid unwanted userlandish components */
#define _KERNEL
#include <sys/errno.h>
#undef _KERNEL
/* special stand error codes */
#define EADAPT (ELAST+1) /* bad adaptor */