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:
572ef60
)
crcsum: remove the -b option since ext2fs_crc32c_be is dropped in 1.43.x
author
Theodore Ts'o
<tytso@mit.edu>
Mon, 22 Apr 2013 04:04:36 +0000
(
00:04
-0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 22 Apr 2013 04:04:36 +0000
(
00:04
-0400)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
tests/progs/crcsum.c
patch
|
blob
|
history
diff --git
a/tests/progs/crcsum.c
b/tests/progs/crcsum.c
index
bee979b
..
9794e10
100644
(file)
--- a/
tests/progs/crcsum.c
+++ b/
tests/progs/crcsum.c
@@
-35,13
+35,11
@@
int main(int argc, char **argv)
csum_func = ext2fs_crc32c_le;
- while ((c = getopt (argc, argv, "
B
")) != EOF) {
+ while ((c = getopt (argc, argv, "
h
")) != EOF) {
switch (c) {
- case 'B':
- csum_func = ext2fs_crc32c_be;
- break;
+ case 'h':
default:
- com_err(argv[0], 0, "Usage: crcsum [
-b] [
file]\n");
+ com_err(argv[0], 0, "Usage: crcsum [file]\n");
return 1;
}
}