diff options
Diffstat (limited to 'src/cmd/tapefs/v6fs.c')
-rw-r--r-- | src/cmd/tapefs/v6fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/tapefs/v6fs.c b/src/cmd/tapefs/v6fs.c index 648c2128..74c6737c 100644 --- a/src/cmd/tapefs/v6fs.c +++ b/src/cmd/tapefs/v6fs.c @@ -85,7 +85,7 @@ popdir(Ram *r) continue; f = iget(ino); strncpy(name, dp->name, V6NAMELEN); - name[V6NAMELEN+1] = '\0'; + name[V6NAMELEN] = '\0'; f.name = name; popfile(r, f); } |