diff mbox series

diskformat handler: fix typo in log message

Message ID 20240826063214.34233-1-michael.adler@siemens.com
State Accepted
Headers show
Series diskformat handler: fix typo in log message | expand

Commit Message

Michael Adler Aug. 26, 2024, 6:32 a.m. UTC
Signed-off-by: Michael Adler <michael.adler@siemens.com>
Signed-off-by: Christian Storm <christian.storm@siemens.com>
---
 handlers/diskformat_handler.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/handlers/diskformat_handler.c b/handlers/diskformat_handler.c
index 635cea92..0708a83a 100644
--- a/handlers/diskformat_handler.c
+++ b/handlers/diskformat_handler.c
@@ -22,14 +22,14 @@  static int diskformat(struct img_type *img,
 	int ret = 0;
 
 	if (!strlen(img->device)) {
-		ERROR("diskpart handler requires setting \"device\" attribute");
+		ERROR("diskformat handler requires setting \"device\" attribute");
 		return -EINVAL;
 	}
 
 	char *fstype = dict_get_value(&img->properties, "fstype");
 
 	if (!fstype) {
-		ERROR("diskpart handler requires setting \"fstype\" attribute");
+		ERROR("diskformat handler requires setting \"fstype\" attribute");
 		return -EINVAL;
 	}