diff options
author | Rob Landley <rob@landley.net> | 2005-12-20 17:18:01 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2005-12-20 17:18:01 +0000 |
commit | 7b363fd3c904c2530844150d00b99f7b32d97f05 (patch) | |
tree | 049af302e9ac23b2b8ed7fd58d87d7f058cdad66 /util-linux/nfsmount.c | |
parent | b9620414c19399bd9da2b90b3ab7b9a832e0be1a (diff) | |
download | busybox-w32-7b363fd3c904c2530844150d00b99f7b32d97f05.tar.gz busybox-w32-7b363fd3c904c2530844150d00b99f7b32d97f05.tar.bz2 busybox-w32-7b363fd3c904c2530844150d00b99f7b32d97f05.zip |
Some minor cleanups/bugfixes split off from the big remount work:
Shorten GPL boilerplate.
Enabling FEATURE_CLEAN_UP broke things in two places.
Move the NFS with uClibc check to nfsmount.c
Diffstat (limited to 'util-linux/nfsmount.c')
-rw-r--r-- | util-linux/nfsmount.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/util-linux/nfsmount.c b/util-linux/nfsmount.c index 842fa0351..75f341a92 100644 --- a/util-linux/nfsmount.c +++ b/util-linux/nfsmount.c | |||
@@ -52,6 +52,12 @@ | |||
52 | #include <rpc/pmap_clnt.h> | 52 | #include <rpc/pmap_clnt.h> |
53 | #include "nfsmount.h" | 53 | #include "nfsmount.h" |
54 | 54 | ||
55 | /* This is just a warning of a common mistake. Possibly this should be a | ||
56 | * * uclibc faq entry rather than in busybox... */ | ||
57 | #if ENABLE_FEATURE_MOUNT_NFS && defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__) | ||
58 | #error "You need to build uClibc with UCLIBC_HAS_RPC for NFS support." | ||
59 | #endif | ||
60 | |||
55 | 61 | ||
56 | /* | 62 | /* |
57 | * NFS stats. The good thing with these values is that NFSv3 errors are | 63 | * NFS stats. The good thing with these values is that NFSv3 errors are |