# c/linux: Fix \`stat\` struct definition for SPARCv9 · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/cb3b1dd6ddee65d1811fb4058b5cc0f2c06d0139)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: cb3b1dd6ddee65d1811fb4058b5cc0f2c06d0139

Requested commit: cb3b1dd6ddee65d1811fb4058b5cc0f2c06d0139

Commit: cb3b1dd6ddee65d1811fb4058b5cc0f2c06d0139

Tree: 966044929ac44f6fc79a9373b1157cbe437ab7de

Author: Koakuma

Committer: Andrew Kelley

## Message

```
c/linux: Fix `stat` struct definition for SPARCv9

The libc interface uses `stat` instead of `stat64` struct.
This fixes, among other things, `zig fmt` accidentally setting the
formatted file's permission to 000.

```

## Parents

- [bb859a0be7860a544aca1543cfd724435a24e380](https://git.cafe/gitcafe/zig/commit/bb859a0be7860a544aca1543cfd724435a24e380?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/cb3b1dd6ddee65d1811fb4058b5cc0f2c06d0139?format=markdown)
