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: https://git.whamcloud.com/?a=commitdiff_plain;h=dc058719dfca9b35baec3208932702d39a502d3a;p=tools%2Fe2fsprogs.git badblocks.c (set_o_direct): Remove debugging printf. (Addresses Debian bug #201499) --- diff --git a/misc/ChangeLog b/misc/ChangeLog index e3d534b..d624613 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 2b2baea..01d6700 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;