shithub: riscv

Download patch

ref: 462c67a09fefcb408a8bcfc43a847745b28bba3d
parent: cc7a274d01780313eb7fe952329fa4d4b10d2c05
author: Vess Rebane <vess@riseup.net>
date: Fri May 12 16:14:54 EDT 2023

ftpfs: clarify usage and manpage

--- a/sys/man/4/ftpfs
+++ b/sys/man/4/ftpfs
@@ -33,7 +33,7 @@
 .I system
 .SH DESCRIPTION
 .I Ftpfs
-dials the TCP file transfer protocol (FTP) port, 21, on
+dials
 .I system
 and mounts itself (see
 .IR bind (2))
--- a/sys/src/cmd/ip/ftpfs/ftpfs.c
+++ b/sys/src/cmd/ip/ftpfs/ftpfs.c
@@ -90,7 +90,7 @@
 void
 usage(void)
 {
-	fprint(2, "ftpfs [-/dqnt] [-a passwd] [-m mountpoint] [-e ext] [-k keyspec] [-o os] [-r root] [net!]address\n");
+	fprint(2, "ftpfs [-/dqnt] [-a passwd] [-m mountpoint] [-e ext] [-k keyspec] [-o os] [-r root] address\n");
 	exits("usage");
 }