]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
fix 'data load' filename pointer
authoradam@algroup.co.uk <adam@algroup.co.uk@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Mon, 8 Feb 2010 17:37:02 +0000 (17:37 +0000)
committeradam@algroup.co.uk <adam@algroup.co.uk@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Mon, 8 Feb 2010 17:37:02 +0000 (17:37 +0000)
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