From 9dcbf6057d2b215085ca9a2bd20b2f19a6db139d Mon Sep 17 00:00:00 2001
From: Michael Gernoth <michael@gernoth.net>
Date: Wed, 5 Mar 2014 02:22:59 +0100
Subject: [PATCH] fix error messages

---
 flash-ota.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flash-ota.c b/flash-ota.c
index 71cb57e..9126768 100644
--- a/flash-ota.c
+++ b/flash-ota.c
@@ -234,7 +234,7 @@ int send_hm_message(struct ota_dev *dev, struct recv_data *rdata, uint8_t *msg)
 						pfd = culfw_poll(dev->culfw, 1);
 						if ((pfd < 0) && errno) {
 							if (errno != ETIMEDOUT) {
-								perror("\n\nhmcfgusb_poll");
+								perror("\n\nculfw_poll");
 								exit(EXIT_FAILURE);
 							}
 						}
@@ -659,7 +659,7 @@ int main(int argc, char **argv)
 		}
 		if ((pfd < 0) && errno) {
 			if (errno != ETIMEDOUT) {
-				perror("\n\nhmcfgusb_poll");
+				perror("\n\npoll");
 				exit(EXIT_FAILURE);
 			}
 		}
-- 
2.39.5