From e7a846275cccd81c533417c7c5aec5490dca4077 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Ritschard Date: Tue, 9 Jan 2007 13:50:12 +0000 Subject: Finish renaming hostated to hoststated. Note to testers: the user the daemon changes its id to is now _hoststated, don't forget to update master.passwd. ok reyk@ --- usr.sbin/hoststatectl/hoststatectl.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'usr.sbin/hoststatectl/hoststatectl.c') diff --git a/usr.sbin/hoststatectl/hoststatectl.c b/usr.sbin/hoststatectl/hoststatectl.c index 90ad447aa22..5119d4e6898 100644 --- a/usr.sbin/hoststatectl/hoststatectl.c +++ b/usr.sbin/hoststatectl/hoststatectl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hoststatectl.c,v 1.7 2007/01/09 00:45:32 deraadt Exp $ */ +/* $OpenBSD: hoststatectl.c,v 1.8 2007/01/09 13:50:10 pyr Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard @@ -57,7 +57,7 @@ usage(void) exit(1); } -/* dummy function so that hostatectl does not need libevent */ +/* dummy function so that hoststatectl does not need libevent */ void imsg_event_add(struct imsgbuf *i) { @@ -78,15 +78,15 @@ main(int argc, char *argv[]) if ((res = parse(argc - 1, argv + 1)) == NULL) exit(1); - /* connect to hostated control socket */ + /* connect to hoststated control socket */ if ((ctl_sock = socket(AF_UNIX, SOCK_STREAM, 0)) == -1) err(1, "socket"); bzero(&sun, sizeof(sun)); sun.sun_family = AF_UNIX; - strlcpy(sun.sun_path, HOSTATED_SOCKET, sizeof(sun.sun_path)); + strlcpy(sun.sun_path, HOSTSTATED_SOCKET, sizeof(sun.sun_path)); if (connect(ctl_sock, (struct sockaddr *)&sun, sizeof(sun)) == -1) - err(1, "connect: %s", HOSTATED_SOCKET); + err(1, "connect: %s", HOSTSTATED_SOCKET); if ((ibuf = malloc(sizeof(struct imsgbuf))) == NULL) err(1, NULL); -- cgit v1.2.3