summaryrefslogtreecommitdiff
path: root/usr.sbin/relayctl
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-12-16 17:52:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-12-16 17:52:22 +0000
commit15dfa474701056b284e1d175e54a39e598937e7e (patch)
tree9d415566d39d940a2262e282fcf71d511135d76f /usr.sbin/relayctl
parent3b24b8b6be6d6963c2031bb1becb60bdd23f4e5b (diff)
spacing, plus dubious \% in format string
Diffstat (limited to 'usr.sbin/relayctl')
-rw-r--r--usr.sbin/relayctl/relayctl.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/relayctl/relayctl.c b/usr.sbin/relayctl/relayctl.c
index 50b7cbd5e14..4de38d73807 100644
--- a/usr.sbin/relayctl/relayctl.c
+++ b/usr.sbin/relayctl/relayctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayctl.c,v 1.4 2006/12/16 15:02:35 reyk Exp $ */
+/* $OpenBSD: relayctl.c,v 1.5 2006/12/16 17:52:21 deraadt Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -100,11 +100,11 @@ main(int argc, char *argv[])
/* not reached */
case SHOW_SUM:
imsg_compose(ibuf, IMSG_CTL_SHOW_SUM, 0, 0, NULL, 0);
- printf("type\t\%4s\t%-16s\tstatus\n\n", "id", "name");
+ printf("type\t%4s\t%-16s\tstatus\n\n", "id", "name");
break;
case SERV_ENABLE:
imsg_compose(ibuf, IMSG_CTL_SERVICE_ENABLE, 0, 0,
- &res->id, sizeof(res->id));
+ &res->id, sizeof(res->id));
break;
case SERV_DISABLE:
imsg_compose(ibuf, IMSG_CTL_SERVICE_DISABLE, 0, 0,
@@ -112,19 +112,19 @@ main(int argc, char *argv[])
break;
case TABLE_ENABLE:
imsg_compose(ibuf, IMSG_CTL_TABLE_ENABLE, 0, 0,
- &res->id, sizeof(res->id));
+ &res->id, sizeof(res->id));
break;
case TABLE_DISABLE:
imsg_compose(ibuf, IMSG_CTL_TABLE_DISABLE, 0, 0,
- &res->id, sizeof(res->id));
+ &res->id, sizeof(res->id));
break;
case HOST_ENABLE:
imsg_compose(ibuf, IMSG_CTL_HOST_ENABLE, 0, 0,
- &res->id, sizeof(res->id));
+ &res->id, sizeof(res->id));
break;
case HOST_DISABLE:
imsg_compose(ibuf, IMSG_CTL_HOST_DISABLE, 0, 0,
- &res->id, sizeof(res->id));
+ &res->id, sizeof(res->id));
break;
case SHUTDOWN:
imsg_compose(ibuf, IMSG_CTL_SHUTDOWN, 0, 0, NULL, 0);