sys: fs: constfs: DEBUG fixes
This commit is contained in:
parent
38f18137f8
commit
ed847a9fdd
@ -241,7 +241,7 @@ static ssize_t constfs_read(vfs_file_t *filp, void *dest, size_t nbytes)
|
||||
nbytes = fp->size - filp->pos;
|
||||
}
|
||||
memcpy(dest, fp->data + filp->pos, nbytes);
|
||||
DEBUG("constfs_read: read %d bytes\n", nbytes);
|
||||
DEBUG("constfs_read: read %lu bytes\n", (long unsigned)nbytes);
|
||||
filp->pos += nbytes;
|
||||
return nbytes;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user