summaryrefslogtreecommitdiffstats
path: root/contrib/syslinux-4.02/dos/perror.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/syslinux-4.02/dos/perror.c')
-rw-r--r--contrib/syslinux-4.02/dos/perror.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/syslinux-4.02/dos/perror.c b/contrib/syslinux-4.02/dos/perror.c
new file mode 100644
index 0000000..99ab2f8
--- /dev/null
+++ b/contrib/syslinux-4.02/dos/perror.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+#include <errno.h>
+
+void perror(const char *msg)
+{
+ printf("%s: error %s\n", msg, errno);
+}