From 0a7ed0445303cd5308d57ac04b38b9180782fd7b Mon Sep 17 00:00:00 2001 From: todd <> Date: Wed, 19 Sep 2001 02:18:50 +0000 Subject: [PATCH] from stone age to the stars in one afternoon, not bad! (go, jason@) --- src/etc/etc.sparc64/MAKEDEV | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/etc/etc.sparc64/MAKEDEV b/src/etc/etc.sparc64/MAKEDEV index 154b247c..4fdd840b 100644 --- a/src/etc/etc.sparc64/MAKEDEV +++ b/src/etc/etc.sparc64/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.19 2001/09/18 20:38:19 todd Exp $ +# $OpenBSD: MAKEDEV,v 1.20 2001/09/19 02:18:50 todd Exp $ # # Copyright (c) 2001 Todd T. Fries # All rights reserved. @@ -124,7 +124,7 @@ unt() } dodisk() { - n=$(($((${5}*${7:-8}))+${6})) count=0 + n=$(($((${5}*16))+${6})) count=0 RMlist="$RMlist $1$2? r$1$2?" for d in a b c d e f g h i j k l m n o p do @@ -136,7 +136,7 @@ dodisk() } dodisk2() { - n=$(($(($5*${7:-8}))+$6)) + n=$(($(($5*16))+$6)) M $1$2a b $3 $n 640 operator M r$1$2a c $4 $n 640 operator n=$(($n+2))