Message type for VFS_GETVFSSTAT
Change-Id: I27f1f6dc37832ee4adb9854c7306ce6153e31567
This commit is contained in:
@@ -10,8 +10,8 @@ int getvfsstat(struct statvfs *buf, size_t bufsize, int flags)
|
||||
message m;
|
||||
|
||||
memset(&m, 0, sizeof(m));
|
||||
m.VFS_GETVFSSTAT_BUF = (char *) buf;
|
||||
m.VFS_GETVFSSTAT_LEN = bufsize;
|
||||
m.VFS_GETVFSSTAT_FLAGS = flags;
|
||||
m.m_lc_vfs_getvfsstat.buf = (vir_bytes) buf;
|
||||
m.m_lc_vfs_getvfsstat.len = bufsize;
|
||||
m.m_lc_vfs_getvfsstat.flags = flags;
|
||||
return(_syscall(VFS_PROC_NR, VFS_GETVFSSTAT, &m));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user