diff options
author | alfred <alfred@FreeBSD.org> | 2004-09-08 08:44:14 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2004-09-08 08:44:14 +0000 |
commit | 8337118014694f7f25c0fe0425553914b6ae882a (patch) | |
tree | 24bbe73be77f1a04bbf9f3e5aa2f938fb71bbf35 /share/examples | |
parent | c2b417e394a6ab4f6a2101136afaf4b8e57fdfef (diff) | |
download | FreeBSD-src-8337118014694f7f25c0fe0425553914b6ae882a.zip FreeBSD-src-8337118014694f7f25c0fe0425553914b6ae882a.tar.gz |
sync with private code:
fix a 5.x'ism that 4.x needs protection from.
make this code compile standalone.
Diffstat (limited to 'share/examples')
-rw-r--r-- | share/examples/autofs/driver/Makefile | 3 | ||||
-rw-r--r-- | share/examples/autofs/driver/autodriver.c | 2 | ||||
-rw-r--r-- | share/examples/autofs/driver/autotab | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/share/examples/autofs/driver/Makefile b/share/examples/autofs/driver/Makefile index 51791bb..fb7d051 100644 --- a/share/examples/autofs/driver/Makefile +++ b/share/examples/autofs/driver/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.2 2004/07/17 11:26:51 bright Exp $ +# $Id: Makefile,v 1.5 2004/09/08 08:27:12 bright Exp $ # $FreeBSD$ PROG=autodriver @@ -8,6 +8,7 @@ NOMAN= YES WERROR= YES WARNS= 4 CFLAGS+= -g +BINDIR?= /sbin DPADD+= ${.OBJDIR}/../libautofs/libautofs.a #LDADD+= -lautofs diff --git a/share/examples/autofs/driver/autodriver.c b/share/examples/autofs/driver/autodriver.c index e2c9b05..10ccbb0 100644 --- a/share/examples/autofs/driver/autodriver.c +++ b/share/examples/autofs/driver/autodriver.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: autodriver.c,v 1.8 2004/08/31 08:49:56 bright Exp $ + * $Id: autodriver.c,v 1.9 2004/09/08 08:12:21 bright Exp $ * $FreeBSD$ */ #include <ctype.h> diff --git a/share/examples/autofs/driver/autotab b/share/examples/autofs/driver/autotab index e2f8569..c56e072 100644 --- a/share/examples/autofs/driver/autotab +++ b/share/examples/autofs/driver/autotab @@ -1,4 +1,4 @@ -# $Id: autotab,v 1.7 2004/08/31 15:59:44 bright Exp $ +# $Id: autotab,v 1.8 2004/09/08 08:12:21 bright Exp $ # $FreeBSD$ # autofs, directory, fstype, opts, path /auto share nfs ro,-R=1 big:/vol/share direct |