Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern do not try to rm sysautoload when it's not actually...



details:   https://anonhg.NetBSD.org/src/rev/d0756ac34eb9
branches:  trunk
changeset: 1004681:d0756ac34eb9
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Nov 09 22:05:50 2019 +0000

description:
do not try to rm sysautoload when it's not actually used for given compat;
script tried to rm /dev/null which failed

diffstat:

 sys/kern/makesyscalls.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 369f7eff9eda -r d0756ac34eb9 sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Sat Nov 09 22:02:45 2019 +0000
+++ b/sys/kern/makesyscalls.sh  Sat Nov 09 22:05:50 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: makesyscalls.sh,v 1.175 2019/10/13 22:31:19 christos Exp $
+#      $NetBSD: makesyscalls.sh,v 1.176 2019/11/09 22:05:50 jdolecek Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -116,7 +116,7 @@
 systraceret="systraceret.$$"
 
 cleanup() {
-    rm $sysdcl $sysprotos $sysent $sysnamesbottom $sysnamesfriendly $rumpsysent $rumptypes $rumpprotos $systracetmp $systraceret $sysautoloadbottom
+    rm $sysdcl $sysprotos $sysent $sysnamesbottom $sysnamesfriendly $rumpsysent $rumptypes $rumpprotos $systracetmp $systraceret ${sysautoloadbottom#/dev/null}
 }
 trap "cleanup" 0
 



Home | Main Index | Thread Index | Old Index