projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e48f336
)
fixed bug in faAlloc()
author
root
<devnull@localhost>
Wed, 27 Dec 1995 17:04:12 +0000
(17:04 +0000)
committer
root
<devnull@localhost>
Wed, 27 Dec 1995 17:04:12 +0000
(17:04 +0000)
CVS patchset: 92
CVS date: 1995/12/27 17:04:12
lib/falloc.c
patch
|
blob
|
history
diff --git
a/lib/falloc.c
b/lib/falloc.c
index
cda0d77
..
ad524df
100644
(file)
--- a/
lib/falloc.c
+++ b/
lib/falloc.c
@@
-188,6
+188,7
@@
unsigned int faAlloc(faFile fa, unsigned int size) { /* returns 0 on failure */
block.size = size;
block.isFree = 0;
+ lseek(fa->fd, newBlock, SEEK_SET);
if (write(fa->fd, &block, sizeof(block)) != sizeof(block)) {
free(space);
return 0;