projects
/
linux-flexiantxendom0-3.2.10.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95ce7d8
)
+- add patches.fixes/gencpio.offset
author
Olaf Hering <olh@suse.de>
Tue, 18 Nov 2003 10:49:44 +0000
(10:49 +0000)
committer
Olaf Hering <olh@suse.de>
Tue, 18 Nov 2003 10:49:44 +0000
(10:49 +0000)
+ add an offset after adding a file to initramfs
suse-commit:
8d3313ce5bb36847d4e0378532ec756a69f81108
usr/gen_init_cpio.c
patch
|
blob
|
history
diff --git
a/usr/gen_init_cpio.c
b/usr/gen_init_cpio.c
index
2db360d
..
e1ccfaa
100644
(file)
--- a/
usr/gen_init_cpio.c
+++ b/
usr/gen_init_cpio.c
@@
-197,6
+197,7
@@
void cpio_mkfile(const char *filename, const char *location,
for (i = 0; i < buf.st_size; ++i)
fputc(filebuf[i], stdout);
+ offset += buf.st_size;
close(file);
free(filebuf);
push_pad();