summaryrefslogtreecommitdiffstats
path: root/contrib/syslinux/latest/com32/gpllib/disk/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/syslinux/latest/com32/gpllib/disk/error.c')
-rw-r--r--contrib/syslinux/latest/com32/gpllib/disk/error.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/contrib/syslinux/latest/com32/gpllib/disk/error.c b/contrib/syslinux/latest/com32/gpllib/disk/error.c
deleted file mode 100644
index fe4722e..0000000
--- a/contrib/syslinux/latest/com32/gpllib/disk/error.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* ----------------------------------------------------------------------- *
- *
- * Copyright 2009 Pierre-Alexandre Meyer
- *
- * This file is part of Syslinux, and is made available under
- * the terms of the GNU General Public License version 2.
- *
- * ----------------------------------------------------------------------- */
-
-#include <stdio.h>
-#include <string.h>
-#include <disk/errno_disk.h>
-
-/**
- * get_error - decode a disk error status
- * @s: Preallocated buffer
- *
- * Fill @buffer_ptr with the last errno_disk
- **/
-void get_error(const char *s)
-{
- fprintf(stderr, "%s: error %d\n", s, errno_disk);
-}