mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 21:03:23 -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)
|
||||
{
|
||||
FILE *f = fopen(Cmd, "r");
|
||||
FILE *f = fopen(Cmd + 1, "r");
|
||||
if (!f) {
|
||||
PrintAndLog("couldn't open '%s'", Cmd);
|
||||
PrintAndLog("couldn't open '%s'", Cmd + 1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue