diff options
author | zinovik <zinovik@cvs.openbsd.org> | 2010-04-01 18:24:05 +0000 |
---|---|---|
committer | zinovik <zinovik@cvs.openbsd.org> | 2010-04-01 18:24:05 +0000 |
commit | 70414542b0d526a8e115c4ad34bdd5f75584370a (patch) | |
tree | 7d3fd47aed491b5fdd2210679db63e5b72d2f6ff /usr.sbin/ypldap/ypldap.c | |
parent | 9698d2b8e3176084d4d635d12f1e2fdd725ef5c1 (diff) |
fix fatal calls, that they will report function names from which they are
called, in case of failure developer will be digging for a bug in wrong place
ok krw@, pyr@
Diffstat (limited to 'usr.sbin/ypldap/ypldap.c')
-rw-r--r-- | usr.sbin/ypldap/ypldap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ypldap/ypldap.c b/usr.sbin/ypldap/ypldap.c index fae15a68b5e..4ae542f4c43 100644 --- a/usr.sbin/ypldap/ypldap.c +++ b/usr.sbin/ypldap/ypldap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ypldap.c,v 1.8 2009/06/06 05:02:58 eric Exp $ */ +/* $OpenBSD: ypldap.c,v 1.9 2010/04/01 18:24:04 zinovik Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -145,7 +145,7 @@ main_dispatch_client(int fd, short event, void *p) for (;;) { if ((n = imsg_get(ibuf, &imsg)) == -1) - fatal("main_dispatch_client: imsg_read error"); + fatal("main_dispatch_client: imsg_get error"); if (n == 0) break; |