Module Name:    src
Committed By:   jdolecek
Date:           Sat Nov  9 22:05:50 UTC 2019

Modified Files:
        src/sys/kern: makesyscalls.sh

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


To generate a diff of this commit:
cvs rdiff -u -r1.175 -r1.176 src/sys/kern/makesyscalls.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/makesyscalls.sh
diff -u src/sys/kern/makesyscalls.sh:1.175 src/sys/kern/makesyscalls.sh:1.176
--- src/sys/kern/makesyscalls.sh:1.175	Sun Oct 13 22:31:19 2019
+++ src/sys/kern/makesyscalls.sh	Sat Nov  9 22:05:50 2019
@@ -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 @@ systracetmp="systrace.$$"
 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
 

Reply via email to