]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: this should remove a warning.
authoriceman1001 <iceman@iuse.se>
Mon, 10 Oct 2016 19:55:18 +0000 (21:55 +0200)
committericeman1001 <iceman@iuse.se>
Mon, 10 Oct 2016 19:55:18 +0000 (21:55 +0200)
client/cmdhflegic.c

index 155d2759f3ce43916554a001c55c07ae88c6fa3a..f0768c95f0fc3e8c1cebecf4de57db484c8e78f4 100644 (file)
@@ -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;
Impressum, Datenschutz