From e654346b7952ec0a024189c30b657195bf35f7e4 Mon Sep 17 00:00:00 2001 From: "fnargwibble@gmail.com" Date: Sat, 5 Oct 2013 16:55:53 +0000 Subject: [PATCH] i'm a retard. no idea why i did it that way! get rid of compile warnings, and print string properly. duh. --- client/flash.c | 3 +-- client/flasher.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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, "."); -- 2.39.5