[PATCH 10/10] fdisk: API: add FDISK_ERROR_NOLABEL error string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Davidlohr Bueso <dave@xxxxxxx>

Signed-off-by: Davidlohr Bueso <dave@xxxxxxx>
---
 fdisks/utils.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fdisks/utils.c b/fdisks/utils.c
index 510d641..383c1a4 100644
--- a/fdisks/utils.c
+++ b/fdisks/utils.c
@@ -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";
 	}
-- 
1.7.4.1




--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux