summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nfsd/fsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nfsd/fsys.c b/nfsd/fsys.c
index 7b15d150..f7467165 100644
--- a/nfsd/fsys.c
+++ b/nfsd/fsys.c
@@ -72,7 +72,7 @@ init_filesystems (void)
for (line = 1; ; line++)
{
- nitems = fscanf (index_file, "%d %as\n", &index, &name);
+ nitems = fscanf (index_file, "%d %ms\n", &index, &name);
if (nitems == EOF)
{
fclose (index_file);