summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/examples/ecore/efl_exe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/ecore/efl_exe.c b/src/examples/ecore/efl_exe.c
index 1458d0630d..eb85eca387 100644
--- a/src/examples/ecore/efl_exe.c
+++ b/src/examples/ecore/efl_exe.c
@@ -21,7 +21,7 @@ _read_change(void *data EINA_UNUSED, const Efl_Event *ev)
21 Eina_Error err = efl_io_reader_read(obj, &rw_slice); 21 Eina_Error err = efl_io_reader_read(obj, &rw_slice);
22 if (!err) 22 if (!err)
23 { 23 {
24 buf[rw_slice.len] = 0; 24 buf[rw_slice.len - 1] = 0;
25 printf("--- READ [%p] [%s] ok %i bytes '%s'\n", obj, efl_core_command_line_command_get(obj), (int)rw_slice.len, buf); 25 printf("--- READ [%p] [%s] ok %i bytes '%s'\n", obj, efl_core_command_line_command_get(obj), (int)rw_slice.len, buf);
26 } 26 }
27 } 27 }