Ryusuke Konishi
2014-02-09 16:32:06 UTC
Fix the following gcc warning:
nilfs-clean.c: In function: 'nilfs_clean_usage':
nilfs-clean.c:336: warning: unknown conversion type character ']' in
format
Signed-off-by: Ryusuke Konishi <konishi.ryusuke-***@public.gmane.org>
---
sbin/nilfs-clean/nilfs-clean.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/nilfs-clean/nilfs-clean.c b/sbin/nilfs-clean/nilfs-clean.c
index a56fa10..0f4a02c 100644
--- a/sbin/nilfs-clean/nilfs-clean.c
+++ b/sbin/nilfs-clean/nilfs-clean.c
@@ -91,7 +91,7 @@ const static struct option long_option[] = {
" -l, --status\t\tdisplay cleaner status\n" \
" -p, --protection-period=SECONDS\n" \
" \t\tspecify protection period\n" \
- " -m, --min-reclaimable-blocks=COUNT[%]\n" \
+ " -m, --min-reclaimable-blocks=COUNT[%%]\n" \
" \t\tset minimum number of reclaimable blocks\n" \
" \t\tbefore a segment can be cleaned\n" \
" -q, --quit\t\tshutdown cleaner\n" \
nilfs-clean.c: In function: 'nilfs_clean_usage':
nilfs-clean.c:336: warning: unknown conversion type character ']' in
format
Signed-off-by: Ryusuke Konishi <konishi.ryusuke-***@public.gmane.org>
---
sbin/nilfs-clean/nilfs-clean.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/nilfs-clean/nilfs-clean.c b/sbin/nilfs-clean/nilfs-clean.c
index a56fa10..0f4a02c 100644
--- a/sbin/nilfs-clean/nilfs-clean.c
+++ b/sbin/nilfs-clean/nilfs-clean.c
@@ -91,7 +91,7 @@ const static struct option long_option[] = {
" -l, --status\t\tdisplay cleaner status\n" \
" -p, --protection-period=SECONDS\n" \
" \t\tspecify protection period\n" \
- " -m, --min-reclaimable-blocks=COUNT[%]\n" \
+ " -m, --min-reclaimable-blocks=COUNT[%%]\n" \
" \t\tset minimum number of reclaimable blocks\n" \
" \t\tbefore a segment can be cleaned\n" \
" -q, --quit\t\tshutdown cleaner\n" \
--
1.7.9.3
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
1.7.9.3
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html