source: bootcd/isolinux/syslinux-6.03/com32/gpllib/disk/error.c @ 26ffad7

Last change on this file since 26ffad7 was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 615 bytes
Line 
1/* ----------------------------------------------------------------------- *
2 *
3 *   Copyright 2009 Pierre-Alexandre Meyer
4 *
5 *   This file is part of Syslinux, and is made available under
6 *   the terms of the GNU General Public License version 2.
7 *
8 * ----------------------------------------------------------------------- */
9
10#include <stdio.h>
11#include <string.h>
12#include <disk/errno_disk.h>
13
14/**
15 * get_error - decode a disk error status
16 * @s:  Preallocated buffer
17 *
18 * Fill @buffer_ptr with the last errno_disk
19 **/
20void get_error(const char *s)
21{
22    fprintf(stderr, "%s: error %d\n", s, errno_disk);
23}
Note: See TracBrowser for help on using the repository browser.