From 001dae0d7431719655f525a94dc900cc078cca99 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 25 Mar 2016 17:24:47 +0100 Subject: syscalls: printer correctly handles lack of sockaddr. Reported by Danny Milosavljevic in . * guix/build/syscalls.scm (write-interface): Check whether ADDRESS is true. --- guix/build/syscalls.scm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'guix') diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm index ea68b22bb7..69a507def8 100644 --- a/guix/build/syscalls.scm +++ b/guix/build/syscalls.scm @@ -767,10 +767,14 @@ the same type as that returned by 'make-socket-address'." (format port "#" (number->string (object-address interface) 16))))) (set-record-type-printer! write-interface) -- cgit v1.2.3