fs/fs.h: Reference the argumnet 'r' in _NX_SETERRNO

to avoid the unused variable warning

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-02-22 03:00:14 +08:00 committed by Masayuki Ishikawa
parent 59a5d03842
commit cf73496d9e

View File

@ -87,7 +87,7 @@
# define _NX_IOCTL(f,r,a) ioctl(f,r,a)
# define _NX_STAT(p,s) stat(p,s)
# define _NX_GETERRNO(r) errno
# define _NX_SETERRNO(r)
# define _NX_SETERRNO(r) ((void)(r))
# define _NX_GETERRVAL(r) (-errno)
#endif