# fix semantic error with std.os.linux.all_mask · gitcafe/zig

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

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

Visibility: public

Requested revision: ee1a95b555464d5a309992b06e02efd07770026c

Requested commit: ee1a95b555464d5a309992b06e02efd07770026c

Commit: ee1a95b555464d5a309992b06e02efd07770026c

Tree: 3079f149403f6861472df2315140da91b0805489

Author: Jonathan Marler

Committer: Andrew Kelley

## Message

```
fix semantic error with std.os.linux.all_mask

all_mask is a value of type sigset_t, which is defined as an array type
[N]u32.  However, all_mask references sigset_t.len, but, the array type
does not have a len field.  Fix is to use @typeInfo(sigset_t).Array.len
instead.

```

## Parents

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

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