From b0a92c5f4e7e4b4db2b74f6d8f10d0b504da2abd Mon Sep 17 00:00:00 2001 From: fros4943 Date: Tue, 27 Oct 2009 10:46:24 +0000 Subject: [PATCH] added log output + minor fix --- apps/shell/shell-checkpoint.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/shell/shell-checkpoint.c b/apps/shell/shell-checkpoint.c index 30e10c492..9fa49c844 100644 --- a/apps/shell/shell-checkpoint.c +++ b/apps/shell/shell-checkpoint.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: shell-checkpoint.c,v 1.1 2009/02/04 17:49:15 fros4943 Exp $ + * $Id: shell-checkpoint.c,v 1.2 2009/10/27 10:46:24 fros4943 Exp $ */ #include "contiki.h" @@ -69,9 +69,10 @@ PROCESS_THREAD(shell_checkpoint_process, ev, data) shell_output_str(&checkpoint_command, "checkpoint: could not open file for writing: ", data); } else { - shell_output_str(&rollback_command, "checkpoint to: ", data); + shell_output_str(&checkpoint_command, "checkpoint to: ", data); checkpoint_checkpoint(fd); cfs_close(fd); + shell_output_str(&checkpoint_command, "checkpointing done", ""); } PROCESS_END();