summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/ChangeLog5
-rw-r--r--misc/badblocks.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/misc/ChangeLog b/misc/ChangeLog
index e3d534b6..d6246139 100644
--- a/misc/ChangeLog
+++ b/misc/ChangeLog
@@ -1,3 +1,8 @@
+2003-07-25 Theodore Ts'o <tytso@mit.edu>
+
+ * badblocks.c (set_o_direct): Remove debugging printf. (Addresses
+ Debian bug #201499)
+
2003-07-21 Theodore Ts'o <tytso@mit.edu>
* fsck.c (wait_many): Rename wait_all() to wait_many(), and have
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;