From: adam@algroup.co.uk Date: Mon, 8 Feb 2010 17:37:02 +0000 (+0000) Subject: fix 'data load' filename pointer X-Git-Tag: v1.0.0~367 X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/33984c6a824dffd900f665ed9c3980072c54e784 fix 'data load' filename pointer --- diff --git a/client/cmddata.c b/client/cmddata.c index aa59edc9..c1099600 100644 --- a/client/cmddata.c +++ b/client/cmddata.c @@ -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; }