* [PATCH] contrib: print missing '-p' argument in fallocate.c
@ 2013-01-25 3:44 Zheng Liu
2013-01-25 4:28 ` Theodore Ts'o
0 siblings, 1 reply; 2+ messages in thread
From: Zheng Liu @ 2013-01-25 3:44 UTC (permalink / raw)
To: linux-ext4; +Cc: Zheng Liu
From: Zheng Liu <wenqing.lz@taobao.com>
In fallocate.c it has supported hole punching, but '-p' argument does
not be printed in usage. So fix it to let the user know it.
Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
---
contrib/fallocate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/fallocate.c b/contrib/fallocate.c
index 1436b70..1f9b59a 100644
--- a/contrib/fallocate.c
+++ b/contrib/fallocate.c
@@ -39,7 +39,7 @@
void usage(void)
{
- printf("Usage: fallocate [-nt] [-o offset] -l length filename\n");
+ printf("Usage: fallocate [-npt] [-o offset] -l length filename\n");
exit(EXIT_FAILURE);
}
--
1.7.12.rc2.18.g61b472e
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-25 4:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-25 3:44 [PATCH] contrib: print missing '-p' argument in fallocate.c Zheng Liu
2013-01-25 4:28 ` Theodore Ts'o
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).