HomeFreeBSD

[libsa] Fix typecast of pointer for st_dev

Description

[libsa] Fix typecast of pointer for st_dev

This code was trying to use a pointer value for st_dev, which is definitely
not a pointer. Instead, cast to uintptr_t so it becomes a non-pointer value
before casting it.

Tested: mips-gcc cross compile, mips32 build

Details

Provenance
adrianAuthored on Apr 16 2020, 11:29 PM
Parents
rG2538a4b1b45c: Remove an duplicate definition of nhops_dump_sysctl()
Branches
Unknown
Tags
Unknown