Code

diff --cc: integer overflow given a 2GB-or-larger file
[git.git] / show-index.c
index c21d660b628a5b6d67b0f56b41fc76a921df340f..a30a2de5d13931c590169cf30bd7004e23f2df1b 100644 (file)
@@ -8,7 +8,7 @@ int main(int argc, char **argv)
        static unsigned int top_index[256];
 
        if (fread(top_index, sizeof(top_index), 1, stdin) != 1)
-               die("unable to read idex");
+               die("unable to read index");
        nr = 0;
        for (i = 0; i < 256; i++) {
                unsigned n = ntohl(top_index[i]);