Fix typo in show-index.c
Signed-off-by: Lars Hjemli <hjemli@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
96a035d1db
commit
0b92f1a9d2
@ -8,7 +8,7 @@ int main(int argc, char **argv)
|
|||||||
static unsigned int top_index[256];
|
static unsigned int top_index[256];
|
||||||
|
|
||||||
if (fread(top_index, sizeof(top_index), 1, stdin) != 1)
|
if (fread(top_index, sizeof(top_index), 1, stdin) != 1)
|
||||||
die("unable to read idex");
|
die("unable to read index");
|
||||||
nr = 0;
|
nr = 0;
|
||||||
for (i = 0; i < 256; i++) {
|
for (i = 0; i < 256; i++) {
|
||||||
unsigned n = ntohl(top_index[i]);
|
unsigned n = ntohl(top_index[i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user