summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authordgregor <dgregor@cvs.openbsd.org>1997-09-07 19:56:11 +0000
committerdgregor <dgregor@cvs.openbsd.org>1997-09-07 19:56:11 +0000
commita0c036d94b967c38aec825d1680003cde2dcdbaf (patch)
tree8c3ae320c535f431817cef823ec7dd8ba8344c7b /etc
parent96b998cde61d97b2b6093c40807762235e1e4a5c (diff)
Fixed 'rm -f' on pty/tty nodes. [tp]ty$n was being removed instead of [tp]ty$nam
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.alpha/MAKEDEV4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV
index f2429b6df44..a44b25b3ab4 100644
--- a/etc/etc.alpha/MAKEDEV
+++ b/etc/etc.alpha/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.24 1997/08/22 17:15:46 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.25 1997/09/07 19:56:10 dgregor Exp $
# $NetBSD: MAKEDEV,v 1.8.4.1 1996/06/18 00:41:56 cgd Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -293,7 +293,7 @@ pty*)
while [ $n -lt 16 ]
do
nam=$name`hex $n`
- rm -rf tty$n pty$n
+ rm -rf tty$nam pty$nam
mknod tty$nam c 4 "$(( $offset + $n ))"
mknod pty$nam c 5 "$(( $offset + $n ))"
n="$(( $n + 1 ))"