summaryrefslogtreecommitdiff
path: root/sbin/mount_nfs
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1995-12-27 00:23:50 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1995-12-27 00:23:50 +0000
commit2058717a3e9a7d3b640872b565fa1424b6ebc437 (patch)
tree1d105d176ee3874c6abd7b5c5566bc22afabc55b /sbin/mount_nfs
parentc4a82af76067dc877ef278ab4688ce30b4ae4c12 (diff)
Do not use hard-coded realm name
Diffstat (limited to 'sbin/mount_nfs')
-rw-r--r--sbin/mount_nfs/mount_nfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mount_nfs/mount_nfs.c b/sbin/mount_nfs/mount_nfs.c
index f8831db22f8..6652bf84af2 100644
--- a/sbin/mount_nfs/mount_nfs.c
+++ b/sbin/mount_nfs/mount_nfs.c
@@ -161,7 +161,7 @@ main(argc, argv)
#ifdef KERBEROS
last_ruid = -1;
if (krb_get_lrealm(realm, 0) != KSUCCESS)
- (void)strcpy(realm, KRB_REALM);
+ (void)strcpy(realm, "[not set]");
#endif
retrycnt = DEF_RETRY;