switched all users of cfs_seek(x,y) to cfs_seek(x,y,CFS_SEEK_SET)

This commit is contained in:
nvt-se 2009-02-27 14:28:02 +00:00
parent 3191a2568c
commit a0226e2418
16 changed files with 55 additions and 55 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: shell-file.c,v 1.9 2009/02/19 22:56:56 adamdunkels Exp $
* $Id: shell-file.c,v 1.10 2009/02/27 14:28:02 nvt-se Exp $
*/
/**
@ -220,7 +220,7 @@ PROCESS_THREAD(shell_read_process, ev, data)
}
fd = cfs_open(filename, CFS_READ);
cfs_seek(fd, offset);
cfs_seek(fd, offset, CFS_SEEK_SET);
if(fd < 0) {
shell_output_str(&read_command,