From 33984c6a824dffd900f665ed9c3980072c54e784 Mon Sep 17 00:00:00 2001 From: "adam@algroup.co.uk" Date: Mon, 8 Feb 2010 17:37:02 +0000 Subject: [PATCH] fix 'data load' filename pointer --- client/cmddata.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2