]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhflegic.c
CHG: better printing output of card ID
[proxmark3-svn] / client / cmdhflegic.c
index d6aaaf3d0bc5dd1ddd5db727cceef107a42a39f0..838a41a25697b26619f73041008964933abae768 100644 (file)
@@ -547,7 +547,7 @@ int CmdLegicRfFill(const char *Cmd) {
 
     int i;
     UsbCommand c = {CMD_DOWNLOADED_SIM_SAMPLES_125K, {0, 0, 0}};
-       memcpy(c.d.asBytes, cmd.arg[2], 48);
+       memset(c.d.asBytes, cmd.arg[2], 48);
 
        for(i = 0; i < 22; i++) {
                c.arg[0] = i*48;
Impressum, Datenschutz