summaryrefslogtreecommitdiff
path: root/etc/etc.powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/etc.powerpc')
-rw-r--r--etc/etc.powerpc/MAKEDEV4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/etc.powerpc/MAKEDEV b/etc/etc.powerpc/MAKEDEV
index a89f7ddbb38..aa77764e05b 100644
--- a/etc/etc.powerpc/MAKEDEV
+++ b/etc/etc.powerpc/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.10 1997/05/14 15:41:20 niklas Exp $
+# $OpenBSD: MAKEDEV,v 1.11 1997/09/07 20:29:14 dgregor Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -273,7 +273,7 @@ pty*)
while [ $n -lt 16 ]
do
nam=$name`hex $n`
- rm -rf {tty,pty}$n
+ rm -f {tty,pty}$nam
mknod tty$nam c 4 "$(( $offset + $n ))"
mknod pty$nam c 5 "$(( $offset + $n ))"
n="$(( $n + 1 ))"