9mount: add upstream trans=fd fix

This commit is contained in:
Michael Gehring 2016-10-18 03:50:20 +02:00
parent 2115e199dc
commit 944b40aed0
2 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,21 @@
# HG changeset patch
# User Michael Gehring <mg@ebfe.org>
# Date 1476753775 -28800
# Node ID 4228419b479173cbad52532e91c423f2b263d73b
# Parent c6da9cac8d01ae89f50abb9f1a3dbc87ffa1ad38
Fix trans=fd mount options
diff -r c6da9cac8d01 -r 4228419b4791 9mount.c
--- 9mount.c Thu Apr 10 19:43:27 2014 +0800
+++ 9mount.c Tue Oct 18 09:22:55 2016 +0800
@@ -165,7 +165,7 @@
if (strcmp(dial, "-") == 0) {
proto = "fd";
addr = "nodev";
- append(&opts, "rfdno=0,wrfdno=1", &optlen);
+ append(&opts, "rfdno=0,wfdno=1", &optlen);
} else {
parsedial(dial, &proto, &addr, &port);
}

View file

@ -1,7 +1,7 @@
# Template file for '9mount'
pkgname=9mount
version=1.3
revision=1
revision=2
build_style=gnu-makefile
make_install_args="prefix=\${DESTDIR}/usr"
short_desc="A set of SUID tools for mounting 9p filesystems via v9fs"