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:
Lars Hjemli 2006-10-20 23:24:32 +02:00 committed by Junio C Hamano
parent 96a035d1db
commit 0b92f1a9d2

View File

@ -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]);