void-packages/srcpkgs/9mount/patches/fix-trans-fd.patch

22 lines
587 B
Diff

# 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);
}