1 /* ----------------------------------------------------------------------- *
3 * Copyright 2009 Pierre-Alexandre Meyer
5 * This file is part of Syslinux, and is made available under
6 * the terms of the GNU General Public License version 2.
8 * ----------------------------------------------------------------------- */
12 #include <disk/errno_disk.h>
15 * get_error - decode a disk error status
16 * @s: Preallocated buffer
18 * Fill @buffer_ptr with the last errno_disk
20 void get_error(const char *s
)
22 fprintf(stderr
, "%s: error %d\n", s
, errno_disk
);