[PATCH] getline.3: wfix

Long Wang
2017-07-12T08:10:01Z

Signed-off-by: Long Wang <w@laoqinren.net>
---
man3/getline.3 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/getline.3 b/man3/getline.3
index 7483afd..9bc4d8e 100644
--- a/man3/getline.3
+++ b/man3/getline.3
@@ -173,7 +173,7 @@ main(int argc, char *argv[])
ssize_t nread;

if (argc != 2) {
- fprintf(stderr, "Usage: %s <file>\en", argv[1]);
+ fprintf(stderr, "Usage: %s <file>\en", argv[0]);
exit(EXIT_FAILURE);
}

--
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html