From: Jakob Gruber Date: Mon, 16 Jul 2012 14:30:06 +0000 (+0200) Subject: misc: Fix confusing typo in error message X-Git-Tag: v1.0~59^2 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=6afcd2a88c5ef2fa2d3e2839dea316fb9b1786ac;p=sx%2Fsimavr.git misc: Fix confusing typo in error message --- diff --git a/examples/board_hd77480/charlcd.c b/examples/board_hd77480/charlcd.c index 911294f..24f70f9 100644 --- a/examples/board_hd77480/charlcd.c +++ b/examples/board_hd77480/charlcd.c @@ -156,7 +156,7 @@ main( avr = avr_make_mcu_by_name(f.mmcu); if (!avr) { - fprintf(stderr, "%s: AVR '%s' now known\n", argv[0], f.mmcu); + fprintf(stderr, "%s: AVR '%s' not known\n", argv[0], f.mmcu); exit(1); } diff --git a/examples/board_i2ctest/i2ctest.c b/examples/board_i2ctest/i2ctest.c index afa5fd7..ed4f286 100644 --- a/examples/board_i2ctest/i2ctest.c +++ b/examples/board_i2ctest/i2ctest.c @@ -48,7 +48,7 @@ int main(int argc, char *argv[]) avr = avr_make_mcu_by_name(f.mmcu); if (!avr) { - fprintf(stderr, "%s: AVR '%s' now known\n", argv[0], f.mmcu); + fprintf(stderr, "%s: AVR '%s' not known\n", argv[0], f.mmcu); exit(1); } avr_init(avr); diff --git a/examples/board_ledramp/ledramp.c b/examples/board_ledramp/ledramp.c index 6db441e..4e765ba 100644 --- a/examples/board_ledramp/ledramp.c +++ b/examples/board_ledramp/ledramp.c @@ -153,7 +153,7 @@ int main(int argc, char *argv[]) avr = avr_make_mcu_by_name(f.mmcu); if (!avr) { - fprintf(stderr, "%s: AVR '%s' now known\n", argv[0], f.mmcu); + fprintf(stderr, "%s: AVR '%s' not known\n", argv[0], f.mmcu); exit(1); } avr_init(avr); diff --git a/examples/board_timer_64led/timer_64led.c b/examples/board_timer_64led/timer_64led.c index 5b7c8f5..dbb0303 100644 --- a/examples/board_timer_64led/timer_64led.c +++ b/examples/board_timer_64led/timer_64led.c @@ -221,7 +221,7 @@ int main(int argc, char *argv[]) avr = avr_make_mcu_by_name(f.mmcu); if (!avr) { - fprintf(stderr, "%s: AVR '%s' now known\n", argv[0], f.mmcu); + fprintf(stderr, "%s: AVR '%s' not known\n", argv[0], f.mmcu); exit(1); } avr_init(avr); diff --git a/simavr/sim/run_avr.c b/simavr/sim/run_avr.c index c50836c..ccac5fb 100644 --- a/simavr/sim/run_avr.c +++ b/simavr/sim/run_avr.c @@ -142,7 +142,7 @@ int main(int argc, char *argv[]) avr = avr_make_mcu_by_name(f.mmcu); if (!avr) { - fprintf(stderr, "%s: AVR '%s' now known\n", argv[0], f.mmcu); + fprintf(stderr, "%s: AVR '%s' not known\n", argv[0], f.mmcu); exit(1); } avr_init(avr); diff --git a/simavr/sim/sim_avr.c b/simavr/sim/sim_avr.c index 8a1b994..fe1f007 100644 --- a/simavr/sim/sim_avr.c +++ b/simavr/sim/sim_avr.c @@ -315,7 +315,7 @@ avr_make_mcu_by_name( } } if (!maker) { - fprintf(stderr, "%s: AVR '%s' now known\n", __FUNCTION__, name); + fprintf(stderr, "%s: AVR '%s' not known\n", __FUNCTION__, name); return NULL; }