Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4001b8a
)
badblocks: Make sure the list of bad blocks found is flushed on interrupt
author
Theodore Ts'o
<tytso@mit.edu>
Mon, 29 Jun 2009 05:04:02 +0000
(
01:04
-0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 29 Jun 2009 05:04:02 +0000
(
01:04
-0400)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/badblocks.c
patch
|
blob
|
history
diff --git
a/misc/badblocks.c
b/misc/badblocks.c
index
3e7b336
..
bcf89f7
100644
(file)
--- a/
misc/badblocks.c
+++ b/
misc/badblocks.c
@@
-223,6
+223,7
@@
static void *terminate_addr = NULL;
static void terminate_intr(int signo EXT2FS_ATTR((unused)))
{
+ fflush(out);
fprintf(stderr, "\n\nInterrupted at block %llu\n",
(unsigned long long) currently_testing);
fflush(stderr);