Define ENOTSUP anywhere it isn't defined

I confused ENOTSUP with ENOTSUPP.  Juan's original patch was correct.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Anthony Liguori 2009-07-28 15:48:31 -05:00
parent 6e489f3f88
commit 4c95538857

View file

@ -38,7 +38,7 @@
#ifndef ENOMEDIUM
#define ENOMEDIUM ENODEV
#endif
#if !defined(ENOTSUP) && defined(__OpenBSD__)
#if !defined(ENOTSUP)
#define ENOTSUP 4096
#endif