summaryrefslogtreecommitdiffstats
path: root/sys/i386/ibcs2/ibcs2_socksys.c
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2002-02-27 16:55:30 +0000
committerrobert <robert@FreeBSD.org>2002-02-27 16:55:30 +0000
commite9d577adb2ffdd3b7300415775c1212a087ce0dc (patch)
treeff2e86b6f053b615b0a0ec32e4ab2fed07270693 /sys/i386/ibcs2/ibcs2_socksys.c
parentb8e607ed843c9be41ab025480d4d09f767463f3b (diff)
downloadFreeBSD-src-e9d577adb2ffdd3b7300415775c1212a087ce0dc.zip
FreeBSD-src-e9d577adb2ffdd3b7300415775c1212a087ce0dc.tar.gz
Use the updated getcredhostname() function.
Diffstat (limited to 'sys/i386/ibcs2/ibcs2_socksys.c')
-rw-r--r--sys/i386/ibcs2/ibcs2_socksys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/ibcs2/ibcs2_socksys.c b/sys/i386/ibcs2/ibcs2_socksys.c
index bdaed8d..ebe6a50 100644
--- a/sys/i386/ibcs2/ibcs2_socksys.c
+++ b/sys/i386/ibcs2/ibcs2_socksys.c
@@ -149,7 +149,7 @@ ibcs2_getipdomainname(td, uap)
int len;
/* Get the domain name */
- snprintf(hname, sizeof(hname), "%s", getcredhostname(td->td_ucred));
+ getcredhostname(td->td_ucred, hname, sizeof(hname));
dptr = index(hname, '.');
if ( dptr )
OpenPOWER on IntegriCloud