From 8e68584fd63e9683b78f4326c69c0b9fc5d81bda Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Mon, 1 Oct 2018 11:36:46 +1300 Subject: [PATCH] Fix UUID code for FreeBSD/OpenBSD/AIX An "&" operator was lost in the refactoring. (cherry picked from commit 87e057e8645969967e253dedfa63ffd0f5d19b01) --- xapian-core/backends/uuids.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xapian-core/backends/uuids.cc b/xapian-core/backends/uuids.cc index 2bccb5180..10c785370 100644 --- a/xapian-core/backends/uuids.cc +++ b/xapian-core/backends/uuids.cc @@ -80,7 +80,7 @@ Uuid::generate() #elif defined HAVE_UUID_H uuid_t uu; uint32_t status; - uuid_create(uu, &status); + uuid_create(&uu, &status); if (status != uuid_s_ok) { // Can only be uuid_s_no_memory it seems. throw std::bad_alloc(); -- 2.11.4.GIT