Module Name:    src
Committed By:   pooka
Date:           Sat Dec  5 20:54:40 UTC 2009

Modified Files:
        src/share/examples/puffs/dtfs: dtfs.c

Log Message:
Use puffs_kernerr_abort as the error handler.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/share/examples/puffs/dtfs/dtfs.c

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

Modified files:

Index: src/share/examples/puffs/dtfs/dtfs.c
diff -u src/share/examples/puffs/dtfs/dtfs.c:1.40 src/share/examples/puffs/dtfs/dtfs.c:1.41
--- src/share/examples/puffs/dtfs/dtfs.c:1.40	Fri Dec  4 13:43:28 2009
+++ src/share/examples/puffs/dtfs/dtfs.c	Sat Dec  5 20:54:40 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: dtfs.c,v 1.40 2009/12/04 13:43:28 pooka Exp $	*/
+/*	$NetBSD: dtfs.c,v 1.41 2009/12/05 20:54:40 pooka Exp $	*/
 
 /*
  * Copyright (c) 2006  Antti Kantee.  All Rights Reserved.
@@ -239,6 +239,7 @@
 	if (maxreqsize != MAXREQMAGIC)
 		puffs_setmaxreqlen(pu, maxreqsize);
 
+	puffs_set_errnotify(pu, puffs_kernerr_abort);
 	if (detach)
 		if (puffs_daemon(pu, 1, 1) == -1)
 			err(1, "puffs_daemon");

Reply via email to