summaryrefslogtreecommitdiffstats
path: root/src/include/errno.h
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2011-09-12 14:58:16 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2011-09-13 12:44:49 -0500
commitf00cbc2321649c74c078784a1fc47da3b10e1a54 (patch)
treee4bf96f22176dda426bc678602aef25bc95a3564 /src/include/errno.h
parent89dc4c2dc72a77bc278b388d66681e943fb6d539 (diff)
downloadblackbird-hostboot-f00cbc2321649c74c078784a1fc47da3b10e1a54.tar.gz
blackbird-hostboot-f00cbc2321649c74c078784a1fc47da3b10e1a54.zip
Return code cleanups.
Change-Id: I375c2f895f28b73948aa384dda781b31f027719b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/334 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/errno.h')
-rw-r--r--src/include/errno.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/errno.h b/src/include/errno.h
index 0db3043ec..678f20131 100644
--- a/src/include/errno.h
+++ b/src/include/errno.h
@@ -23,9 +23,12 @@
#ifndef _ERRNO_H
#define _ERRNO_H
-#define EIO 5 // I/O error
+#define ENOENT 2 // No such file or directory
+#define EIO 5 // I/O error
+#define ENOEXEC 8 // Exec format error
+#define EBADF 9 // Bad file descriptor
#define EAGAIN 11 // Try again
-#define EFAULT 14 // Bad address
+#define EFAULT 14 // Bad address
#define EINVAL 22 // Invalid argument
#define EWOULDBLOCK EAGAIN // operation would block
OpenPOWER on IntegriCloud