shithub: riscv

Download patch

ref: b85b00c2cdd580f88bb0ad91fd260b91370222af
parent: 383667cf31ce8a25d038fbb72705e3cbd5e0eb38
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Dec 12 15:41:17 EST 2022

ip/pptpd: use /fd instead of #d

--- a/sys/src/cmd/ip/pptpd.c
+++ b/sys/src/cmd/ip/pptpd.c
@@ -1259,7 +1259,7 @@
 	int fd, n, i;
 	Dir *d, *p;
 
-	if((fd = open("#d", OREAD)) < 0)
+	if((fd = open("/fd", OREAD)) < 0)
 		return;
 
 	n = dirreadall(fd, &d);