Hu Tao
2009-Jun-05 06:30 UTC
[PATCH] End a btrfsctl err msg "-s requires an arg" with a newline.
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
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs"
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html