Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/puffs/mount_9p Initialize puffs9p::server (though i...
details: https://anonhg.NetBSD.org/src/rev/9ddad80b709c
branches: trunk
changeset: 933741:9ddad80b709c
user: uwe <uwe%NetBSD.org@localhost>
date: Sat May 30 02:53:30 2020 +0000
description:
Initialize puffs9p::server (though it's not used anywhere).
diffstat:
usr.sbin/puffs/mount_9p/ninepuffs.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 2940212dd108 -r 9ddad80b709c usr.sbin/puffs/mount_9p/ninepuffs.c
--- a/usr.sbin/puffs/mount_9p/ninepuffs.c Sat May 30 02:46:07 2020 +0000
+++ b/usr.sbin/puffs/mount_9p/ninepuffs.c Sat May 30 02:53:30 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ninepuffs.c,v 1.28 2020/05/29 23:49:08 uwe Exp $ */
+/* $NetBSD: ninepuffs.c,v 1.29 2020/05/30 02:53:30 uwe Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: ninepuffs.c,v 1.28 2020/05/29 23:49:08 uwe Exp $");
+__RCSID("$NetBSD: ninepuffs.c,v 1.29 2020/05/30 02:53:30 uwe Exp $");
#endif /* !lint */
#include <sys/types.h>
@@ -207,6 +207,7 @@
p9p.maxreq = P9P_DEFREQLEN;
p9p.nextfid = 1;
p9p.protover = protover;
+ p9p.server = server;
/* user@ */
if ((p = strchr(argv[0], '@')) != NULL) {
@@ -233,7 +234,7 @@
srvpath = "/";
}
- if (server == P9P_SERVER_TCP) {
+ if (p9p.server == P9P_SERVER_TCP) {
p9p.servsock = serverconnect(srvhost, port);
} else {
/* path to a vio9p(4) device, e.g., /dev/vio9p0 */
Home |
Main Index |
Thread Index |
Old Index