aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-10-09 10:04:00 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-10-09 10:04:00 +0200
commit7bc3aeb314bb892f1881595b6f96c80cbca67efb (patch)
tree2fc307777bf898ebe3ef2444ca14a7518241f774
parentc0200ec054bdbec10e05cf836a2653700b0dd977 (diff)
main: Inform the user in case the flashing has failed.
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index cfef1b1..3d44929 100644
--- a/main.c
+++ b/main.c
@@ -2,6 +2,7 @@
* main.c
*
* Copyright (C) 2005 Erik Gilling, all rights reserved
+ * Copyright (C) 2011 Holger Hans Peter Freyther
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -92,6 +93,7 @@ int main( int argc, char *argv[] )
if( io_init( line ) < 0 ) {
+ fprintf(stderr, "Failed to initialize the SAM7 device.\n");
return 1;
}