[lxc-devel] [lxd/master] shared/logging: Add freebsd build conditional to log_posix.go

vifino on Github lxc-bot at linuxcontainers.org
Tue Nov 14 06:21:31 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 457 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20171114/e59f69d5/attachment.bin>
-------------- next part --------------
From 602837672a1abe62d60919c005418cf13180e7fa Mon Sep 17 00:00:00 2001
From: Adrian Pistol <vifino at tty.sh>
Date: Tue, 14 Nov 2017 07:14:29 +0100
Subject: [PATCH] shared/logging: Add freebsd build conditional to log_posix.go

Allows building of the LXD client on FreeBSD.

Signed-off-by: Adrian Pistol <vifino at tty.sh>
---
 shared/logging/log_posix.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shared/logging/log_posix.go b/shared/logging/log_posix.go
index b1c67fbbe..91c1bebdc 100644
--- a/shared/logging/log_posix.go
+++ b/shared/logging/log_posix.go
@@ -1,4 +1,4 @@
-// +build linux darwin
+// +build linux darwin freebsd
 
 package logging
 


More information about the lxc-devel mailing list