nasmlib: fix stub when os_fstat() is not defined

Use the correct variable to quiet unused variable warning in
os_fstat() stub.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin 2022-11-07 16:56:56 -08:00
parent 3f08242752
commit b9646f9e39

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------- *
*
* Copyright 1996-2017 The NASM Authors - All Rights Reserved
* Copyright 1996-2022 The NASM Authors - All Rights Reserved
* See the file AUTHORS included with the NASM distribution for
* the specific copyright holders.
*
@ -217,7 +217,7 @@ static inline int os_stat(os_filename osfname, os_struct_stat *st)
#ifndef os_fstat
static inline int os_fstat(int fd, os_struct_stat *st)
{
(void)osfname;
(void)fd;
(void)st;
return -1;
}