]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmddata.c
fix 'data load' filename pointer
[proxmark3-svn] / client / cmddata.c
index aa59edc9257e3601d03e8f3fe4f1dc323ea66ac4..c109960093c513f4665740cc76420cce82b32065 100644 (file)
@@ -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;
   }
 
Impressum, Datenschutz