fdisk: API: add FDISK_ERROR_NOLABEL error string
PATCH 10/10 fdisk: API: add FDISK_ERROR_NOLABEL error string
From: Davidlohr Bueso <[email protected]>
Signed-off-by Davidlohr Bueso <[email protected]>
--- fdisks/utils.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
fdisks/utils.c +2 -0
@@ -426,6 +426,8 @@ const char *fdisk_error_name(enum fdisk_error errcode)return "error: ioctl" ;case FDISK_ERROR_PROBE :return "error: cannot probe" ; +case FDISK_ERROR_NOLABEL : +return "error: cannot recognize device partition table" ;default :return "error: unknown" ; }
Signature · 1 line
1.7.4.1
Karel Zak
maintainerQuoted 1 line · Davidlohr Bueso
return "error: unknown";
Not applied, see the previous discussion about the 1/10 patch.
karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com