OSDN Git Service
(root)
/
android-x86
/
external-e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8a1a67
)
Fix bug in e2fsck which caused it to core dump if --enable-jbd-debug is used
author
Theodore Ts'o
<tytso@mit.edu>
Thu, 31 Jan 2008 19:22:24 +0000
(14:22 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Thu, 31 Jan 2008 19:22:24 +0000
(14:22 -0500)
Missing curly braces from a python programmer; my bad for noticing it!
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/unix.c
patch
|
blob
|
history
diff --git
a/e2fsck/unix.c
b/e2fsck/unix.c
index
183116d
..
4ca13dc
100644
(file)
--- a/
e2fsck/unix.c
+++ b/
e2fsck/unix.c
@@
-849,7
+849,7
@@
static errcode_t PRS(int argc, char *argv[], e2fsck_t *ret_ctx)
}
#ifdef CONFIG_JBD_DEBUG
jbd_debug = getenv("E2FSCK_JBD_DEBUG");
- if (jbd_debug)
+ if (jbd_debug)
{
res = sscanf(jbd_debug, "%d", &journal_enable_debug);
if (res != 1) {
fprintf(stderr,
@@
-857,6
+857,7
@@
static errcode_t PRS(int argc, char *argv[], e2fsck_t *ret_ctx)
jbd_debug);
exit (1);
}
+ }
#endif
return 0;