summaryrefslogtreecommitdiff
path: root/etc/etc.mac68k/MAKEDEV
diff options
context:
space:
mode:
Diffstat (limited to 'etc/etc.mac68k/MAKEDEV')
-rw-r--r--etc/etc.mac68k/MAKEDEV4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/etc.mac68k/MAKEDEV b/etc/etc.mac68k/MAKEDEV
index 7d7ef0bd6fb..03b57da3640 100644
--- a/etc/etc.mac68k/MAKEDEV
+++ b/etc/etc.mac68k/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.16 1997/06/10 00:01:31 gene Exp $
+# $OpenBSD: MAKEDEV,v 1.17 1997/09/07 20:29:12 dgregor Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -244,7 +244,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 `add $offset $n`
mknod pty$nam c 5 `add $offset $n`
n=`add $n 1`