aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-09-22 21:12:26 +0200
committerLudovic Courtès <ludo@gnu.org>2014-09-22 21:12:26 +0200
commit8591fae4cf34ac5abcf85bf0cee0225d6c472e32 (patch)
tree10fae95d0627262972ac7926e6d49496363593e4
parent077bd18d223c2934fb52b7ab134271e1b574c481 (diff)
downloadpatches-8591fae4cf34ac5abcf85bf0cee0225d6c472e32.tar
patches-8591fae4cf34ac5abcf85bf0cee0225d6c472e32.tar.gz
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.)
-rw-r--r--guix/build/syscalls.scm2
1 files changed, 1 insertions, 1 deletions
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