summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2008-08-14 09:41:30 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2008-08-14 09:41:30 +0200
commitccbf7b8dacc9a0c4b54097a81fbaa23ec323a32d (patch)
tree038ea5a0080ade5fde31499be944e46d4f0ccfb5 /commands
parent865234eb68336f3e2c0a988846b36c777476b89a (diff)
downloadbarebox-ccbf7b8dacc9a0c4b54097a81fbaa23ec323a32d.tar.gz
barebox-ccbf7b8dacc9a0c4b54097a81fbaa23ec323a32d.tar.xz
ups, some debug printf slipped in
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r--commands/mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/mem.c b/commands/mem.c
index dfafda3c95..b030f2d740 100644
--- a/commands/mem.c
+++ b/commands/mem.c
@@ -122,7 +122,7 @@ int open_and_lseek(const char *filename, int mode, off_t pos)
if (!pos)
return fd;
-printf("lseek to 0x%08x\n", pos);
+
ret = lseek(fd, pos, SEEK_SET);
if (ret == -1) {
perror("lseek");