diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-09-22 21:12:26 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-09-22 21:12:26 +0200 |
commit | 8591fae4cf34ac5abcf85bf0cee0225d6c472e32 (patch) | |
tree | 10fae95d0627262972ac7926e6d49496363593e4 | |
parent | 077bd18d223c2934fb52b7ab134271e1b574c481 (diff) | |
download | guix-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.scm | 2 |
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 |