summaryrefslogtreecommitdiffstats
path: root/daemon/utmpd/utmpsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/utmpd/utmpsync.c')
-rw-r--r--daemon/utmpd/utmpsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/utmpd/utmpsync.c b/daemon/utmpd/utmpsync.c
index 69d1c623..53f61ac0 100644
--- a/daemon/utmpd/utmpsync.c
+++ b/daemon/utmpd/utmpsync.c
@@ -8,7 +8,7 @@ int main(int argc, char **argv)
{
int sfd, index, i;
attach_SHM();
- if( (sfd = toconnect(OUTTACACHEHOST, OUTTACACHEPORT)) < 0 ) {
+ if( (sfd = toconnect(UTMPD_ADDR)) < 0 ) {
printf("connect fail\n");
return 1;
}