Module Name: src Committed By: martin Date: Fri Mar 18 13:26:39 UTC 2022
Modified Files: src/usr.sbin/puffs/mount_9p [netbsd-8]: node.c Log Message: Minimal build fix for ticket #1738 To generate a diff of this commit: cvs rdiff -u -r1.21.40.1 -r1.21.40.2 src/usr.sbin/puffs/mount_9p/node.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/puffs/mount_9p/node.c diff -u src/usr.sbin/puffs/mount_9p/node.c:1.21.40.1 src/usr.sbin/puffs/mount_9p/node.c:1.21.40.2 --- src/usr.sbin/puffs/mount_9p/node.c:1.21.40.1 Tue Mar 15 10:00:14 2022 +++ src/usr.sbin/puffs/mount_9p/node.c Fri Mar 18 13:26:38 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: node.c,v 1.21.40.1 2022/03/15 10:00:14 martin Exp $ */ +/* $NetBSD: node.c,v 1.21.40.2 2022/03/18 13:26:38 martin Exp $ */ /* * Copyright (c) 2007 Antti Kantee. All Rights Reserved. @@ -27,7 +27,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: node.c,v 1.21.40.1 2022/03/15 10:00:14 martin Exp $"); +__RCSID("$NetBSD: node.c,v 1.21.40.2 2022/03/18 13:26:38 martin Exp $"); #endif /* !lint */ #include <assert.h> @@ -182,7 +182,7 @@ puffs9p_node_readdir(struct puffs_usermo GETRESPONSE(pb); if (p9pbuf_get_type(pb) != P9PROTO_R_READ) { - rv = proto_handle_rerror(pu, pb); + rv = EPROTO; goto out; }