diff options
Diffstat (limited to 'usr/src/cmd/fs.d/autofs/autod_parse.c')
-rw-r--r-- | usr/src/cmd/fs.d/autofs/autod_parse.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/cmd/fs.d/autofs/autod_parse.c b/usr/src/cmd/fs.d/autofs/autod_parse.c index 95856f2fc3..b37f686d65 100644 --- a/usr/src/cmd/fs.d/autofs/autod_parse.c +++ b/usr/src/cmd/fs.d/autofs/autod_parse.c @@ -25,8 +25,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <stdio.h> #include <ctype.h> #include <string.h> @@ -278,9 +276,9 @@ mapline_to_mapent(struct mapent **mapents, struct mapline *ml, char *key, /* * implied is true if there is no '/' (the usual NFS case) - * or if there are two slashes (the smbfs case) + * or if there are two slashes (for smbfs direct entries) */ - implied = ((*w != '/') || (*(w+1) == '/')); + implied = ((*w != '/') || (isdirect && *(w+1) == '/')); while (*w == '/' || implied) { mp = me; if ((me = (struct mapent *)malloc(sizeof (*me))) == NULL) |