diff options
Diffstat (limited to 'lib/decompress_bunzip2.c')
| -rw-r--r-- | lib/decompress_bunzip2.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/decompress_bunzip2.c b/lib/decompress_bunzip2.c index a7b80c1d6a0d..31c5f7675fbf 100644 --- a/lib/decompress_bunzip2.c +++ b/lib/decompress_bunzip2.c | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | /* vi: set sw = 4 ts = 4: */ | ||
| 2 | /* Small bzip2 deflate implementation, by Rob Landley (rob@landley.net). | 1 | /* Small bzip2 deflate implementation, by Rob Landley (rob@landley.net). |
| 3 | 2 | ||
| 4 | Based on bzip2 decompression code by Julian R Seward (jseward@acm.org), | 3 | Based on bzip2 decompression code by Julian R Seward (jseward@acm.org), |
| @@ -691,7 +690,7 @@ STATIC int INIT bunzip2(unsigned char *buf, int len, | |||
| 691 | outbuf = malloc(BZIP2_IOBUF_SIZE); | 690 | outbuf = malloc(BZIP2_IOBUF_SIZE); |
| 692 | 691 | ||
| 693 | if (!outbuf) { | 692 | if (!outbuf) { |
| 694 | error("Could not allocate output bufer"); | 693 | error("Could not allocate output buffer"); |
| 695 | return RETVAL_OUT_OF_MEMORY; | 694 | return RETVAL_OUT_OF_MEMORY; |
| 696 | } | 695 | } |
| 697 | if (buf) | 696 | if (buf) |
| @@ -699,7 +698,7 @@ STATIC int INIT bunzip2(unsigned char *buf, int len, | |||
| 699 | else | 698 | else |
| 700 | inbuf = malloc(BZIP2_IOBUF_SIZE); | 699 | inbuf = malloc(BZIP2_IOBUF_SIZE); |
| 701 | if (!inbuf) { | 700 | if (!inbuf) { |
| 702 | error("Could not allocate input bufer"); | 701 | error("Could not allocate input buffer"); |
| 703 | i = RETVAL_OUT_OF_MEMORY; | 702 | i = RETVAL_OUT_OF_MEMORY; |
| 704 | goto exit_0; | 703 | goto exit_0; |
| 705 | } | 704 | } |
