This commit was generated by cvs2svn to compensate for changes in r1815,
[bootcd.git] / syslinux / dos / perror.c
diff --git a/syslinux/dos/perror.c b/syslinux/dos/perror.c
new file mode 100644 (file)
index 0000000..ff8d5f2
--- /dev/null
@@ -0,0 +1,8 @@
+#include <stdio.h>
+#include <errno.h>
+
+void perror(const char *msg)
+{
+  printf("%s: error %s\n", msg, errno);
+}
+