Module Name: src
Committed By: manu
Date: Sat Aug 16 16:32:04 UTC 2014
Modified Files:
src/usr.sbin/perfused: msg.c
Log Message:
Remove a warning that happens when the filesystem cleanly exits. Just
display a message when running in debug mode.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/perfused/msg.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/perfused/msg.c
diff -u src/usr.sbin/perfused/msg.c:1.21 src/usr.sbin/perfused/msg.c:1.22
--- src/usr.sbin/perfused/msg.c:1.21 Sat Jul 21 05:49:42 2012
+++ src/usr.sbin/perfused/msg.c Sat Aug 16 16:32:04 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: msg.c,v 1.21 2012/07/21 05:49:42 manu Exp $ */
+/* $NetBSD: msg.c,v 1.22 2014/08/16 16:32:04 manu Exp $ */
/*-
* Copyright (c) 2010 Emmanuel Dreyfus. All rights reserved.
@@ -493,7 +493,10 @@ perfused_readframe(struct puffs_usermoun
switch (readen = recv(fd, data, len, MSG_NOSIGNAL|MSG_PEEK)) {
case 0:
- perfused_panic();
+ DPRINTF("Filesystem exit\n");
+ /* NOTREACHED */
+ exit(0);
+ break;
case -1:
if (errno == EAGAIN)
return 0;