summaryrefslogtreecommitdiff
path: root/misc/badblocks.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2003-07-25 07:39:33 -0400
committerTheodore Ts'o <tytso@mit.edu>2003-07-25 07:39:33 -0400
commitdc058719dfca9b35baec3208932702d39a502d3a (patch)
treeb89eb03b8d34c2fc73f36190ef07db3a383489e0 /misc/badblocks.c
parent151c86abb96f1820ba0cb3b86689875d5faee2cf (diff)
downloade2fsprogs-dc058719dfca9b35baec3208932702d39a502d3a.tar.gz
badblocks.c (set_o_direct): Remove debugging printf. (Addresses
Debian bug #201499)
Diffstat (limited to 'misc/badblocks.c')
-rw-r--r--misc/badblocks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/badblocks.c b/misc/badblocks.c
index 2b2baeab..01d6700f 100644
--- a/misc/badblocks.c
+++ b/misc/badblocks.c
@@ -199,7 +199,7 @@ static void set_o_direct(int dev, unsigned char *buffer, size_t size)
new_flag = 0;
if (new_flag != current_O_DIRECT) {
- printf("%s O_DIRECT\n", new_flag ? "Setting" : "Clearing");
+ /* printf("%s O_DIRECT\n", new_flag ? "Setting" : "Clearing"); */
flag = fcntl(dev, F_GETFL);
if (flag > 0) {
flag = (flag & ~O_DIRECT) | new_flag;