mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-03 06:53:18 +02:00
tests: Add wrap for __fstat50 to fix tests for NetBSD
Tested by running unit tests on NetBSD 9.2 Ubuntu 22.04.1 (still pass) Change-Id: Icb8e453328cb40ab9d628f01ecdc3886a233dad5 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/73649 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Tested-by: Thomas Heijligen <src@posteo.de> Reviewed-by: Thomas Heijligen <src@posteo.de> Reviewed-by: Peter Marheine <pmarheine@chromium.org>
This commit is contained in:
@ -229,6 +229,12 @@ int __wrap_fstat64(int fd, void *buf)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int __wrap___fstat50(int fd, void *buf)
|
||||
{
|
||||
LOG_ME;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int __wrap___fxstat(int fd, void *buf)
|
||||
{
|
||||
LOG_ME;
|
||||
|
Reference in New Issue
Block a user