Though really, should we be splatting to stdout/stderr? The mysteries
of ancient code...
-/* $OpenBSD: yp_all.c,v 1.14 2022/07/17 03:08:58 deraadt Exp $ */
+/* $OpenBSD: yp_all.c,v 1.15 2022/07/18 02:31:19 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993 Theo de Raadt <deraadt@theos.com>
* All rights reserved.
if (ypbinding->dom_client == NULL) {
close(ypbinding->dom_socket);
free(ypbinding);
- printf("clnttcp_create failed\n");
+ clnt_pcreateerror("clnttcp_create");
goto again;
}
clnt_control(ypbinding->dom_client, CLSET_CONNECTED, &connected);