]> git.zerfleddert.de Git - hmcfgusb/blobdiff - flash-hmcfgusb.c
Add missing case in switch
[hmcfgusb] / flash-hmcfgusb.c
index 7f296de5746631778954dac8ffd0f84c94caa703..8c858f2e2950199684863967f928d23b47663136 100644 (file)
@@ -1,6 +1,6 @@
 /* flasher for HM-CFG-USB
  *
 /* flasher for HM-CFG-USB
  *
- * Copyright (c) 2013-15 Michael Gernoth <michael@gernoth.net>
+ * Copyright (c) 2013-16 Michael Gernoth <michael@gernoth.net>
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
@@ -72,7 +72,7 @@ int main(int argc, char **argv)
        struct recv_data rdata;
        uint16_t len;
        struct firmware *fw;
        struct recv_data rdata;
        uint16_t len;
        struct firmware *fw;
-       char *serial = "ABC";
+       char *serial = NULL;
        char *filename = NULL;
        int block;
        int pfd;
        char *filename = NULL;
        int block;
        int pfd;
@@ -86,7 +86,7 @@ int main(int argc, char **argv)
                                break;
                        case 'V':
                                printf("flash-hmcfgusb " VERSION "\n");
                                break;
                        case 'V':
                                printf("flash-hmcfgusb " VERSION "\n");
-                               printf("Copyright (c) 2013-15 Michael Gernoth\n\n");
+                               printf("Copyright (c) 2013-16 Michael Gernoth\n\n");
                                exit(EXIT_SUCCESS);
                        case 'h':
                        case ':':
                                exit(EXIT_SUCCESS);
                        case 'h':
                        case ':':
Impressum, Datenschutz