summaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-02-25 18:44:30 +0100
committerJim Meyering <jim@meyering.net>2007-02-25 18:44:30 +0100
commit7a46b70e5ecc0b1eb97e87158e2ca0816d63214e (patch)
tree78c473e76d2dccb640f8aa082d5a2f560d0aba24 /debug
parent17e5036bf4e4e5c88b94562432e10d1ae3b2b1b0 (diff)
downloadparted-7a46b70e5ecc0b1eb97e87158e2ca0816d63214e.tar.gz
Avoid a gcc format warning:
* debug/clearfat/clearfat.c (_do_help): Use fputs, not printf.
Diffstat (limited to 'debug')
-rw-r--r--debug/clearfat/clearfat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/clearfat/clearfat.c b/debug/clearfat/clearfat.c
index 896747d..e27c32d 100644
--- a/debug/clearfat/clearfat.c
+++ b/debug/clearfat/clearfat.c
@@ -40,7 +40,7 @@ static char buffer [CLEAR_BUFFER_SIZE];
static int
_do_help ()
{
- printf (help_msg);
+ fputs (help_msg, stdout);
exit (1);
}