Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/lfs redefine panic if we are a user program.



details:   https://anonhg.NetBSD.org/src/rev/52112661956b
branches:  trunk
changeset: 584325:52112661956b
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Sep 13 04:40:42 2005 +0000

description:
redefine panic if we are a user program.

diffstat:

 sys/ufs/lfs/lfs_itimes.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 4882b50b7dcc -r 52112661956b sys/ufs/lfs/lfs_itimes.c
--- a/sys/ufs/lfs/lfs_itimes.c  Tue Sep 13 04:40:25 2005 +0000
+++ b/sys/ufs/lfs/lfs_itimes.c  Tue Sep 13 04:40:42 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_itimes.c,v 1.1 2005/09/13 04:13:26 christos Exp $  */
+/*     $NetBSD: lfs_itimes.c,v 1.2 2005/09/13 04:40:42 christos Exp $  */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_itimes.c,v 1.1 2005/09/13 04:13:26 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_itimes.c,v 1.2 2005/09/13 04:40:42 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -53,6 +53,7 @@
 #include "lfs_user.h"
 #define vnode uvnode
 #define buf ubuf
+#define panic call_panic
 #else
 #include <ufs/lfs/lfs_extern.h>
 #endif



Home | Main Index | Thread Index | Old Index