mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
fix 'data load' filename pointer
This commit is contained in:
parent
8381984556
commit
33984c6a82
1 changed files with 2 additions and 2 deletions
|
@ -476,9 +476,9 @@ int CmdSamples(const char *Cmd)
|
||||||
|
|
||||||
int CmdLoad(const char *Cmd)
|
int CmdLoad(const char *Cmd)
|
||||||
{
|
{
|
||||||
FILE *f = fopen(Cmd, "r");
|
FILE *f = fopen(Cmd + 1, "r");
|
||||||
if (!f) {
|
if (!f) {
|
||||||
PrintAndLog("couldn't open '%s'", Cmd);
|
PrintAndLog("couldn't open '%s'", Cmd + 1);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue