fix error messages
authorMichael Gernoth <michael@gernoth.net>
Wed, 5 Mar 2014 01:22:59 +0000 (02:22 +0100)
committerMichael Gernoth <michael@gernoth.net>
Wed, 5 Mar 2014 01:22:59 +0000 (02:22 +0100)
flash-ota.c

index 71cb57e..9126768 100644 (file)
@@ -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);
                        }
                }
Impressum, Datenschutz