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-03-01 09:23:09 +09:00
committed by Masayuki Ishikawa
parent 59a5d03842
commit cf73496d9e
+1 -1
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