* [PATCH] End a btrfsctl err msg "-s requires an arg" with a newline.
@ 2009-06-05 6:30 Hu Tao
0 siblings, 0 replies; only message in thread
From: Hu Tao @ 2009-06-05 6:30 UTC (permalink / raw)
To: linux-btrfs
Signed-off-by: Hu Tao <hu.taoo@gmail.com>
---
btrfsctl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/btrfsctl.c b/btrfsctl.c
index b323818..fa401ab 100644
--- a/btrfsctl.c
+++ b/btrfsctl.c
@@ -109,7 +109,7 @@ int main(int ac, char **av)
for (i = 1; i < ac; i++) {
if (strcmp(av[i], "-s") == 0) {
if (i + 1 >= ac - 1) {
- fprintf(stderr, "-s requires an arg");
+ fprintf(stderr, "-s requires an arg\n");
print_usage();
}
fullpath = av[i + 1];
--
1.6.3.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-05 6:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-05 6:30 [PATCH] End a btrfsctl err msg "-s requires an arg" with a newline Hu Tao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox