diff options
Diffstat (limited to 'usr/src/cmd/volmgt/vold/vold_config.c')
| -rw-r--r-- | usr/src/cmd/volmgt/vold/vold_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/volmgt/vold/vold_config.c b/usr/src/cmd/volmgt/vold/vold_config.c index 193a58c442..989596a969 100644 --- a/usr/src/cmd/volmgt/vold/vold_config.c +++ b/usr/src/cmd/volmgt/vold/vold_config.c @@ -506,7 +506,7 @@ conf_action(int argc, char **argv, uint_t ln) return (FALSE); } - if (!(S_IFREG & sb.st_mode)) { + if (!S_ISREG(sb.st_mode)) { warning(gettext( "config file (%s) line %d: %s not a regular file\n"), vold_config, ln, pname); |
