Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:master commit in: init.d/
Date: Wed, 23 Nov 2011 18:18:25
Message-Id: cc45abb77b195ecd778e578cc716b90e9612e48a.vapier@gentoo
1 commit: cc45abb77b195ecd778e578cc716b90e9612e48a
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 23 18:17:20 2011 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 23 18:17:20 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=cc45abb7
7
8 net.lo: fix typo in previous math commit
9
10 x-Gentoo-Bug: 391671
11 x-Gentoo-Bug-URL: http://bugs.gentoo.org/391671
12 Reported-by: Duncan <1i5t5.duncan <AT> cox.net>
13 Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>
14
15 ---
16 init.d/net.lo.in | 2 +-
17 1 files changed, 1 insertions(+), 1 deletions(-)
18
19 diff --git a/init.d/net.lo.in b/init.d/net.lo.in
20 index d647f31..2181657 100644
21 --- a/init.d/net.lo.in
22 +++ b/init.d/net.lo.in
23 @@ -144,7 +144,7 @@ _netmask2cidr()
24 local i= len=
25 local IFS=.
26 for i in $1; do
27 - while [ i -ne 0 ]; do
28 + while [ ${i} -ne 0 ]; do
29 : $(( len += i % 2 ))
30 : $(( i >>= 1 ))
31 done