Compare commits

..

No commits in common. "e69243180ff863e9bfcb23ebaa77244a6e66fc8f" and "08deed9f6062cca6a6c4f2fb63ae0aaa60b130ac" have entirely different histories.

View file

@ -30,11 +30,11 @@ const char help[] =
"\0";
// clang-format on
const char copyright[] = "Copyright (C) %s Imbus, BSD-2-Clause\n";
const char copyright[] = "Copyright (C) %s Imbus\n";
#define BUFSIZE (4 * 1024 * 1024)
struct write_job {
typedef struct write_job {
char *filename;
char *dev_name;
char *buffer;
@ -42,9 +42,9 @@ struct write_job {
size_t bufsize;
size_t block_size;
char verify_only;
} wjob = {0};
} write_job_t;
typedef struct write_job write_job_t;
write_job_t wjob = {0};
void int_handler(int signum) {
fprintf(stderr, "\nInterrupted: %s\n", strsignal(signum));
@ -156,6 +156,7 @@ int main(int argc, char *argv[]) {
if (argc != 1) {
printf("You need to specify an image file.\n");
// printf("%s\n", help);
exit(EXIT_FAILURE);
}