diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1996-10-27 23:22:19 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1996-10-27 23:22:19 +0000 |
commit | 393aee94c02512403fbe69a995a15d6e59a2d187 (patch) | |
tree | fabd46e20703c077fc0915e5e101fc3c36eb2ab6 /usr.sbin | |
parent | 07f37870a0f2ff2e737cdc8a6c2e9b7f8da3f7f0 (diff) |
Check for __OpenBSD__. From Matthieu Herrb <Mathieu.Herrb@mipnet.fr>
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/amd/config/mtab_bsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/amd/config/mtab_bsd.c b/usr.sbin/amd/config/mtab_bsd.c index 6d2bb72b8fd..2362593e2df 100644 --- a/usr.sbin/amd/config/mtab_bsd.c +++ b/usr.sbin/amd/config/mtab_bsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mtab_bsd.c,v 1.2 1996/03/25 15:54:52 niklas Exp $ */ +/* $OpenBSD: mtab_bsd.c,v 1.3 1996/10/27 23:22:16 millert Exp $ */ /* * Copyright (c) 1990 Jan-Simon Pendry @@ -52,7 +52,7 @@ struct statfs *mp; new_mp->mnt_fsname = strdup(mp->f_mntfromname); new_mp->mnt_dir = strdup(mp->f_mntonname); -#ifndef __NetBSD__ +#if !defined(__NetBSD__) && !defined(__OpenBSD__) switch (mp->f_type) { case MOUNT_UFS: ty = MTAB_TYPE_UFS; break; case MOUNT_NFS: ty = MTAB_TYPE_NFS; break; |