nant's projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f23dc1
)
amd(8): Fix a warning from the days when NULL was 0.
author
Sascha Wildner
<saw@online.de>
Thu, 10 Mar 2011 03:21:26 +0000
(
04:21
+0100)
committer
Sascha Wildner
<saw@online.de>
Thu, 10 Mar 2011 03:21:26 +0000
(
04:21
+0100)
contrib/amd/libamu/mount_fs.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/amd/libamu/mount_fs.c
b/contrib/amd/libamu/mount_fs.c
index
f5db0b4
..
73c7623
100644
(file)
--- a/
contrib/amd/libamu/mount_fs.c
+++ b/
contrib/amd/libamu/mount_fs.c
@@
-694,7
+694,7
@@
compute_nfs_args(nfs_args_t *nap, mntent_t *mntp, int genflags, struct sockaddr_
#if defined(MNT2_NFS_OPT_MAXGRPS) && defined(MNTTAB_OPT_MAXGROUPS)
nap->maxgrouplist = hasmntval(mntp, MNTTAB_OPT_MAXGROUPS);
- if (nap->maxgrouplist !=
NULL
)
+ if (nap->maxgrouplist !=
0
)
nap->flags |= MNT2_NFS_OPT_MAXGRPS;
#endif /* defined(MNT2_NFS_OPT_MAXGRPS) && defined(MNTTAB_OPT_MAXGROUPS) */