]> git.decadent.org.uk Git - nfs-utils.git/commit
2002-10-11 H.J. Lu <hjl@lucon.org> nfs-utils-1-0-2-pre4
authorhjl <hjl>
Fri, 11 Oct 2002 15:37:10 +0000 (15:37 +0000)
committerhjl <hjl>
Fri, 11 Oct 2002 15:37:10 +0000 (15:37 +0000)
commit0036a143c415eac6388d992a4e637e7004147296
treea35845f909b4faebad58e783f12a6b3495aa7ea8
parent955d48dbcf0c75f263f2573c998acc65f95ededa
2002-10-11  H.J. Lu <hjl@lucon.org>

* support/include/exportfs.h (export_errno): New.

* support/nfs/exports.c: Include <errno.h>.
(export_errno): New.
(getexportent): Set export_errno to EINVAL for bad option.
(parseopts): Likewise.
Report the location of the default sync/async option.

* utils/exportfs/exportfs.c (main): Initialize export_errno to
0. Return export_errno.
ChangeLog
support/include/exportfs.h
support/nfs/exports.c
utils/exportfs/exportfs.c