git: 0ce9d6e240a1 - main - auditdistd: Fix build failure
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 Oct 2026 15:01:23 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=0ce9d6e240a14d5b7cd8eb45a83d0e429f4a3edf
commit 0ce9d6e240a14d5b7cd8eb45a83d0e429f4a3edf
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-10-20 14:59:46 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-10-20 14:59:46 +0000
auditdistd: Fix build failure
Fixes: 4f19e4aca4f4 ("auditdistd: Use void pointers for opaque data")
Reported by: garga@
---
contrib/openbsm/bin/auditdistd/proto_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/openbsm/bin/auditdistd/proto_common.c b/contrib/openbsm/bin/auditdistd/proto_common.c
index 2966f6638f58..30db25dc9f91 100644
--- a/contrib/openbsm/bin/auditdistd/proto_common.c
+++ b/contrib/openbsm/bin/auditdistd/proto_common.c
@@ -145,7 +145,7 @@ proto_common_send(int sock, const void *data, size_t size, int fd)
errno = ETIMEDOUT;
return (errno);
}
- data += done;
+ data = (const char *)data + done;
size -= done;
} while (size > 0);
if (errcount > 0) {