From: iceman1001 Date: Mon, 10 Oct 2016 19:55:18 +0000 (+0200) Subject: FIX: this should remove a warning. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/25cb718daf70da6f278428b66e9766cd81f3b5ef?ds=sidebyside FIX: this should remove a warning. --- diff --git a/client/cmdhflegic.c b/client/cmdhflegic.c index 155d2759..f0768c95 100644 --- a/client/cmdhflegic.c +++ b/client/cmdhflegic.c @@ -629,7 +629,7 @@ int CmdLegicRfWrite(const char *Cmd) { PrintAndLog("#####################################"); PrintAndLog("do you really want to continue? y(es) n(o)"); char answer; - sscanf("%c", &answer); + sscanf(" %c", &answer); bool exit = !(answer == 'n' || answer == 'N'); if (exit) return 0;