From 8591fae4cf34ac5abcf85bf0cee0225d6c472e32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 22 Sep 2014 21:12:26 +0200 Subject: [PATCH] syscalls: Adjust /proc/net/dev parser for old kernels. * guix/build/syscalls.scm (%interface-line): Remove whitespace in rest pattern. (There's no extra whitespace after the colon with Linux 2.6.32.) --- guix/build/syscalls.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm index f910ebd152..7e5245fcc6 100644 --- a/guix/build/syscalls.scm +++ b/guix/build/syscalls.scm @@ -295,7 +295,7 @@ to interfaces that are currently up." (define %interface-line ;; Regexp matching an interface line in Linux's /proc/net/dev. - (make-regexp "^[[:blank:]]*([[:alnum:]]+): .*$")) + (make-regexp "^[[:blank:]]*([[:alnum:]]+):.*$")) (define (all-network-interfaces) "Return all the registered network interfaces, including those that are not