]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhflegic.c
FIX: this should remove a warning.
[proxmark3-svn] / 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