diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2001-09-19 02:18:51 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2001-09-19 02:18:51 +0000 |
commit | 1501c694d44ad498ff38e17728b3efeb28b967f9 (patch) | |
tree | 2d1fd51513369eda217f5cb04038edbfbce2da2a /etc/etc.sparc64/MAKEDEV | |
parent | b1d65eaf9d19c4626feb777349007dc92f7cb9b3 (diff) |
from stone age to the stars in one afternoon, not bad! (go, jason@)
Diffstat (limited to 'etc/etc.sparc64/MAKEDEV')
-rw-r--r-- | etc/etc.sparc64/MAKEDEV | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/etc.sparc64/MAKEDEV b/etc/etc.sparc64/MAKEDEV index 154b247c255..4fdd840b294 100644 --- a/etc/etc.sparc64/MAKEDEV +++ b/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 <todd@OpenBSD.org> # 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)) |