Usage of sbrk in examples/mountlist.c
In examples/mountlist.c
, there are a few sbrk (0)
calls. They don't seem to do anything useful, as their return values are only used to print messages. Since they have caused issues on systems which don't implement sbrk
, such as FreeBSD on ARM64 and RISC-V, can we simply remove them?
Reference: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221751