Module Name: src
Committed By: pooka
Date: Mon Jun 7 11:23:07 UTC 2010
Modified Files:
src/lib/libp2k: p2k.c
Log Message:
no need to typecast in pathconf anymore
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/lib/libp2k/p2k.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libp2k/p2k.c
diff -u src/lib/libp2k/p2k.c:1.39 src/lib/libp2k/p2k.c:1.40
--- src/lib/libp2k/p2k.c:1.39 Sun Jun 6 22:46:17 2010
+++ src/lib/libp2k/p2k.c Mon Jun 7 11:23:07 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: p2k.c,v 1.39 2010/06/06 22:46:17 pooka Exp $ */
+/* $NetBSD: p2k.c,v 1.40 2010/06/07 11:23:07 pooka Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Antti Kantee. All Rights Reserved.
@@ -1307,13 +1307,13 @@
/*ARGSUSED*/
int
p2k_node_pathconf(struct puffs_usermount *pu, puffs_cookie_t opc,
- int name, int *retval)
+ int name, register_t *retval)
{
struct vnode *vp = OPC2VP(opc);
int rv;
RUMP_VOP_LOCK(vp, LK_EXCLUSIVE);
- rv = RUMP_VOP_PATHCONF(vp, name, (register_t *)retval);
+ rv = RUMP_VOP_PATHCONF(vp, name, retval);
RUMP_VOP_UNLOCK(vp, 0);
return rv;