From: Theodore Ts'o Date: Fri, 25 Jul 2003 11:39:33 +0000 (-0400) Subject: badblocks.c (set_o_direct): Remove debugging printf. (Addresses X-Git-Tag: E2FSPROGS-1_34~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc058719dfca9b35baec3208932702d39a502d3a;p=thirdparty%2Fe2fsprogs.git badblocks.c (set_o_direct): Remove debugging printf. (Addresses Debian bug #201499) --- diff --git a/misc/ChangeLog b/misc/ChangeLog index e3d534b6a..d62461397 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-25 Theodore Ts'o + + * badblocks.c (set_o_direct): Remove debugging printf. (Addresses + Debian bug #201499) + 2003-07-21 Theodore Ts'o * fsck.c (wait_many): Rename wait_all() to wait_many(), and have diff --git a/misc/badblocks.c b/misc/badblocks.c index 2b2baeab0..01d6700fd 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;