mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 22:04:40 +00:00
Correct definition of CIOC_KERNEL_VERSION Coda ioctl() for systems
where sizeof(int) != sizeof(sizeof(int)), or the ioctl will return EINVAL. MFC after: 3 days
This commit is contained in:
parent
7546d4b74e
commit
1c482201ef
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=206206
|
@ -313,7 +313,7 @@ struct coda_statfs {
|
|||
#define VC_MAXMSGSIZE sizeof(union inputArgs)+sizeof(union outputArgs) +\
|
||||
VC_MAXDATASIZE
|
||||
|
||||
#define CIOC_KERNEL_VERSION _IOWR('c', 10, sizeof (int))
|
||||
#define CIOC_KERNEL_VERSION _IOWR('c', 10, int)
|
||||
#if 0
|
||||
/* don't care about kernel version number */
|
||||
#define CODA_KERNEL_VERSION 0
|
||||
|
|
Loading…
Reference in a new issue