Deleted Added
full compact
36c36
< __FBSDID("$FreeBSD: head/sbin/mount/getmntopts.c 186505 2008-12-26 22:55:38Z obrien $");
---
> __FBSDID("$FreeBSD: head/sbin/mount/getmntopts.c 230226 2012-01-16 19:34:21Z jh $");
127c127
< void
---
> int
133,134c133,136
< if (!S_ISDIR(sb.st_mode))
< errx(EX_USAGE, "%s: not a directory", resolved);
---
> if (!S_ISDIR(sb.st_mode)) {
> errno = ENOTDIR;
> return (1);
> }
136c138,140
< errx(EX_USAGE, "%s: %s", resolved, strerror(errno));
---
> return (1);
>
> return (0);