summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1996-06-23 22:44:06 +0000
committerwpaul <wpaul@FreeBSD.org>1996-06-23 22:44:06 +0000
commit46fc34c49c3db6959c0e05bce725a4db4da729a6 (patch)
treeb21e4fc1b8010240c65217ac3a4f5f53bdf9d3f9 /usr.sbin/rpc.yppasswdd/yppasswdd_extern.h
parent1db04ef8f1f2e146f782b9b95eb495923fc6b033 (diff)
downloadFreeBSD-src-46fc34c49c3db6959c0e05bce725a4db4da729a6.zip
FreeBSD-src-46fc34c49c3db6959c0e05bce725a4db4da729a6.tar.gz
Whoops: had a couple of hardcoded instances of '/var/yp/' that shouldn't
have been there. Fixed to use yp_dir, which can be set on the command line.
Diffstat (limited to 'usr.sbin/rpc.yppasswdd/yppasswdd_extern.h')
-rw-r--r--usr.sbin/rpc.yppasswdd/yppasswdd_extern.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h b/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h
index fa2deb6..b67d039 100644
--- a/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h
+++ b/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h
@@ -29,12 +29,13 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: yppasswdd_extern.h,v 1.6 1996/06/03 03:22:36 wpaul Exp $
+ * $Id: yppasswdd_extern.h,v 1.7 1996/06/23 22:20:43 wpaul Exp $
*/
#include <sys/types.h>
#include <limits.h>
#include <db.h>
+#include <paths.h>
#include <rpc/rpc.h>
#include <pwd.h>
#include <err.h>
@@ -45,6 +46,11 @@
#ifndef YPLIBDIR
#define YPLIBDIR "/usr/libexec/"
#endif
+
+#ifndef _PATH_YP
+#define _PATH_YP "/var/yp/"
+#endif
+
#define MAP_UPDATE "yppwupdate"
#define MAP_UPDATE_PATH YPLIBDIR "yppwupdate"
OpenPOWER on IntegriCloud