util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 10/10] fdisk: API: add FDISK_ERROR_NOLABEL error string
@ 2012-07-22 17:05 Davidlohr Bueso
  2012-07-24 11:42 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Davidlohr Bueso @ 2012-07-22 17:05 UTC (permalink / raw)
  To: Karel Zak, Petr Uzel; +Cc: util-linux

From: Davidlohr Bueso <dave@gnu.org>

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-24 11:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-22 17:05 [PATCH 10/10] fdisk: API: add FDISK_ERROR_NOLABEL error string Davidlohr Bueso
2012-07-24 11:42 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).