Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 02e9a94

Browse files
committed
vmcs_host: Correct type name for file mode
The type of "st_mode" in "struct stat" is "mode_t", not "__mode_t". Signed-off-by: Maarten ter Huurne <[email protected]>
1 parent 54429af commit 02e9a94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

interface/vmcs_host/linux/vcfilesys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ int vc_hostfs_set_attr(const char *path, fattributes_t attr)
916916

917917
if (pathbuf)
918918
{
919-
__mode_t mode = 0;
919+
mode_t mode = 0;
920920
struct stat sb;
921921

922922
backslash_to_slash(pathbuf);

0 commit comments

Comments
 (0)