diff options
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/hurdchdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurdchdir.c b/hurd/hurdchdir.c index 0c10a37d1b..5115e4d460 100644 --- a/hurd/hurdchdir.c +++ b/hurd/hurdchdir.c @@ -40,7 +40,7 @@ _hurd_change_directory_port_from_name (struct hurd_port *portcell, lookup = name; else { - char *n = alloca (len + 2); + char *n = alloca (len + 3); memcpy (n, name, len); n[len] = '/'; n[len + 1] = '.'; |