Last change
on this file 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 | **/ |
---|
20 | void 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.