aboutsummaryrefslogtreecommitdiff
path: root/sim/common/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/syscall.c')
-rw-r--r--sim/common/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/syscall.c b/sim/common/syscall.c
index 529a90f..fd5b82a 100644
--- a/sim/common/syscall.c
+++ b/sim/common/syscall.c
@@ -93,7 +93,7 @@ get_string (cb, sc, buf, buflen, addr)
path name along with the syscall request, and cache the file
name somewhere (or otherwise tweak this as desired). */
unsigned int count = (*sc->read_mem) (cb, sc, addr, p, 1);
-
+
if (count != 1)
return EINVAL;
if (*p == 0)