From 4c56fce697925c597fb1e74843062d300e7c1fd4 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Mon, 11 Feb 2008 18:40:16 +0000 Subject: [PATCH] updated cfs_write arguments --- platform/cooja/cfs/cfs-cooja.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/cooja/cfs/cfs-cooja.c b/platform/cooja/cfs/cfs-cooja.c index dac5937d8..7081f5764 100644 --- a/platform/cooja/cfs/cfs-cooja.c +++ b/platform/cooja/cfs/cfs-cooja.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: cfs-cooja.c,v 1.6 2007/11/25 22:44:06 fros4943 Exp $ + * $Id: cfs-cooja.c,v 1.7 2008/02/11 18:40:16 fros4943 Exp $ */ #include #include "lib/simEnvChange.h" @@ -88,7 +88,7 @@ cfs_read(int f, void *buf, unsigned int len) } /*---------------------------------------------------------------------------*/ int -cfs_write(int f, void *buf, unsigned int len) +cfs_write(int f, const void *buf, unsigned int len) { if(f == FLAG_FILE_OPEN) { // TODO Should yield a few times?