diff options
author | 2014-11-19 19:59:25 +0000 | |
---|---|---|
committer | 2014-11-19 19:59:25 +0000 | |
commit | 523f310822ade8d03bc22f0224e94f4d85ab971a (patch) | |
tree | 54ffd1d56df26986c4935dc1c95c18d36e27c47e | |
parent | Remove braindead prototype for a nonexistent function. (diff) | |
download | wireguard-openbsd-523f310822ade8d03bc22f0224e94f4d85ab971a.tar.xz wireguard-openbsd-523f310822ade8d03bc22f0224e94f4d85ab971a.zip |
Make the past-ELAST libsa-specific errno values contiguous.
-rw-r--r-- | sys/lib/libsa/saerrno.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/lib/libsa/saerrno.h b/sys/lib/libsa/saerrno.h index 98c01f6ce47..486334b98a8 100644 --- a/sys/lib/libsa/saerrno.h +++ b/sys/lib/libsa/saerrno.h @@ -1,4 +1,4 @@ -/* $OpenBSD: saerrno.h,v 1.7 2011/09/20 22:26:05 miod Exp $ */ +/* $OpenBSD: saerrno.h,v 1.8 2014/11/19 19:59:25 miod Exp $ */ /* $NetBSD: saerrno.h,v 1.6 1995/09/18 21:19:45 pk Exp $ */ /* @@ -42,10 +42,10 @@ extern int errno; #define EUNIT (ELAST+3) /* bad drive */ #define EPART (ELAST+4) /* bad partition */ #define ERDLAB (ELAST+5) /* can't read disk label */ -#define EOFFSET (ELAST+7) /* relative seek not supported */ -#define EBSE (ELAST+9) /* bad sector error */ -#define EECC (ELAST+11) /* uncorrectable ecc error */ -#define EHER (ELAST+12) /* hard error */ -#define ESALAST (ELAST+12) /* */ +#define EOFFSET (ELAST+6) /* relative seek not supported */ +#define EBSE (ELAST+7) /* bad sector error */ +#define EECC (ELAST+8) /* uncorrectable ecc error */ +#define EHER (ELAST+9) /* hard error */ +#define ESALAST (ELAST+9) char *strerror(int err); |