Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/etc Pull up following revision(s) (requested by christos ...



details:   https://anonhg.NetBSD.org/src/rev/eba08d6627b3
branches:  netbsd-3
changeset: 577922:eba08d6627b3
user:      tron <tron%NetBSD.org@localhost>
date:      Tue Apr 04 21:37:40 2006 +0000

description:
Pull up following revision(s) (requested by christos in ticket #1237):
        etc/MAKEDEV.tmpl: revision 1.51
Add parentheses.

diffstat:

 etc/MAKEDEV.tmpl |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r c58027c730e6 -r eba08d6627b3 etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl  Tue Apr 04 21:33:38 2006 +0000
+++ b/etc/MAKEDEV.tmpl  Tue Apr 04 21:37:40 2006 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: MAKEDEV.tmpl,v 1.40.2.4 2005/07/02 15:49:36 tron Exp $
+#      $NetBSD: MAKEDEV.tmpl,v 1.40.2.5 2006/04/04 21:37:40 tron Exp $
 #
 # Copyright (c) 2003 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -829,7 +829,7 @@
                warn "$i: pty unit conflicts with console ttyv0 device"
                continue
        fi
-       s2=$(($start % $nt - $s1 * $mult))
+       s2=$(($start % ($nt - $s1 * $mult)))
        set -- $d2
        shift $s2
        t2=$1



Home | Main Index | Thread Index | Old Index