diff options
author | Justin M. Seger <jseger@FreeBSD.org> | 1998-10-16 00:55:28 +0000 |
---|---|---|
committer | Justin M. Seger <jseger@FreeBSD.org> | 1998-10-16 00:55:28 +0000 |
commit | 70b97c41ab05220c291daf23c890309f69cbf126 (patch) | |
tree | 4108fe440009c21a870b792b771b77fbdbda423d /net/sharity-light/files | |
parent | Mark BROKEN for ELF: (diff) |
Unbreak for current.
Submitted by: dima
Notes
Notes:
svn path=/head/; revision=14032
Diffstat (limited to 'net/sharity-light/files')
-rw-r--r-- | net/sharity-light/files/unshlight.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/sharity-light/files/unshlight.c b/net/sharity-light/files/unshlight.c index e167b3611687..b8502060d05a 100644 --- a/net/sharity-light/files/unshlight.c +++ b/net/sharity-light/files/unshlight.c @@ -50,7 +50,11 @@ main(int argc, char** argv) char* s; int error; if (argc > 0 && strcmp(abspath, mntbuf[i].f_mntonname) != 0) continue; +#if defined(__FreeBSD_version) && __FreeBSD_version > 300000 + if (strcmp(mntbuf[i].f_fstypename, "nfs") != 0) continue; +#else if (mntbuf[i].f_type != MOUNT_NFS) continue; +#endif if (strncmp(mntbuf[i].f_mntfromname, "shlight-", 8) != 0) continue; pid=strtoul(mntbuf[i].f_mntfromname+8, &s, 10); if (*s) continue; |