From: fnargwibble@gmail.com Date: Sat, 5 Oct 2013 16:55:53 +0000 (+0000) Subject: i'm a retard. no idea why i did it that way! get rid of compile warnings, and print... X-Git-Tag: v1.0.0~55 X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/e654346b7952ec0a024189c30b657195bf35f7e4 i'm a retard. no idea why i did it that way! get rid of compile warnings, and print string properly. duh. --- diff --git a/client/flash.c b/client/flash.c index 9f547915..3a0a1cda 100644 --- a/client/flash.c +++ b/client/flash.c @@ -340,8 +340,7 @@ static int enter_bootloader(char *serial_port_name) msleep(100); CloseProxmark(); - fprintf(stderr,"Waiting for Proxmark to reappear on "); - fprintf(stderr,serial_port_name); + fprintf(stderr,"Waiting for Proxmark to reappear on %s",serial_port_name); do { sleep(1); fprintf(stderr, "."); diff --git a/client/flasher.c b/client/flasher.c index 652f13b1..2a24ba8f 100644 --- a/client/flasher.c +++ b/client/flasher.c @@ -128,8 +128,7 @@ int main(int argc, char **argv) serial_port_name = argv[1]; - fprintf(stderr,"Waiting for Proxmark to appear on "); - fprintf(stderr,serial_port_name); + fprintf(stderr,"Waiting for Proxmark to appear on %s",serial_port_name); do { sleep(1); fprintf(stderr, ".");