Commit 68f12028 authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://gkernel.bkbits.net/misc-2.6

into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents f59c14e7 823d60d6
...@@ -295,7 +295,6 @@ static int cpio_mkfile(const char *name, const char *location, ...@@ -295,7 +295,6 @@ static int cpio_mkfile(const char *name, const char *location,
struct stat buf; struct stat buf;
int file = -1; int file = -1;
int retval; int retval;
int i;
int rc = -1; int rc = -1;
mode |= S_IFREG; mode |= S_IFREG;
...@@ -344,8 +343,7 @@ static int cpio_mkfile(const char *name, const char *location, ...@@ -344,8 +343,7 @@ static int cpio_mkfile(const char *name, const char *location,
push_string(name); push_string(name);
push_pad(); push_pad();
for (i = 0; i < buf.st_size; ++i) fwrite(filebuf, buf.st_size, 1, stdout);
fputc(filebuf[i], stdout);
offset += buf.st_size; offset += buf.st_size;
push_pad(); push_pad();
rc = 0; rc = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment