aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/estream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/estream.c b/src/estream.c
index 4cc72ba..95d7211 100644
--- a/src/estream.c
+++ b/src/estream.c
@@ -1809,7 +1809,7 @@ parse_mode (const char *modestr,
}
else if (!strncmp (modestr, "sysopen", 7))
{
- modestr += 8;
+ modestr += 7;
if (*modestr && !strchr (" \t,", *modestr))
{
_set_errno (EINVAL);