diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-31 18:24:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-31 18:24:02 +0000 |
commit | dc1f36a1d840e9f7680628aa149e3f52083597ff (patch) | |
tree | 95a24d97796a34ff7dcd6b868f69880f883b89de /usr.sbin/rdate/rdate.c | |
parent | 394736931b2b2686fe932cda0157e8adf1363365 (diff) |
repair error message; spotted by Marcus Merighi
Diffstat (limited to 'usr.sbin/rdate/rdate.c')
-rw-r--r-- | usr.sbin/rdate/rdate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rdate/rdate.c b/usr.sbin/rdate/rdate.c index 5da04a596d6..79cb48d80a7 100644 --- a/usr.sbin/rdate/rdate.c +++ b/usr.sbin/rdate/rdate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rdate.c,v 1.33 2015/10/29 03:16:15 deraadt Exp $ */ +/* $OpenBSD: rdate.c,v 1.34 2015/10/31 18:24:01 deraadt Exp $ */ /* $NetBSD: rdate.c,v 1.4 1996/03/16 12:37:45 pk Exp $ */ /* @@ -144,7 +144,7 @@ main(int argc, char **argv) break; case 0: if (pledge("stdio inet dns", NULL) == -1) - err(1, "fork"); + err(1, "pledge"); close(p[0]); /* read side of pipe */ dup2(p[1], STDIN_FILENO); |