diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2002-04-11 09:50:11 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2002-04-11 09:50:11 +0000 |
| commit | 2ab188f529b8fc322585198e37f8f9a9464d0aa0 (patch) | |
| tree | 235b7696ff09194682877367080030566dca0ca0 | |
| parent | f11aa8f5ca44f238b14b7472d628b8e8127b628d (diff) | |
Notes
| -rw-r--r-- | sys/boot/efi/libefi/efifs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/efi/libefi/efifs.c b/sys/boot/efi/libefi/efifs.c index 767ce647b39f..d42bc71b952e 100644 --- a/sys/boot/efi/libefi/efifs.c +++ b/sys/boot/efi/libefi/efifs.c @@ -233,6 +233,8 @@ efifs_stat(struct open_file *f, struct stat *sb) sb->st_mode = S_IRUSR | S_IWUSR; if (info->Attribute & EFI_FILE_DIRECTORY) sb->st_mode |= S_IFDIR; + else + sb->st_mode |= S_IFREG; sb->st_size = info->FileSize; free(buf); |
