Mercurial > hg > dhcpcd
changeset 5350:f97d9554afb4 draft
privsep: fix size of rdm
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Wed, 10 Jun 2020 14:47:00 +0100 |
| parents | a399aaae6092 |
| children | 00a3204a58af |
| files | src/privsep-root.c |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/privsep-root.c Wed Jun 10 14:42:08 2020 +0100 +++ b/src/privsep-root.c Wed Jun 10 14:47:00 2020 +0100 @@ -985,7 +985,7 @@ { if (ps_sendcmd(ctx, ctx->ps_root_fd, PS_AUTH_MONORDM, 0, - rdm, sizeof(rdm))== -1) + rdm, sizeof(*rdm))== -1) return -1; return (int)ps_root_readerror(ctx, rdm, sizeof(*rdm)); }
