fix wrong ioctl direction for F2FS_IOC_GET_PIN_FILE
Change-Id: I0cf212c3e1770e233ae1f70e7fc4a6d70b82583e Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
This commit is contained in:
parent
de85ef5c37
commit
1dcfbe2a01
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ int main(int argc, const char * const argv[]) {
|
|||
#define F2FS_IOCTL_MAGIC 0xf5
|
||||
#endif
|
||||
#define F2FS_IOC_SET_PIN_FILE _IOW(F2FS_IOCTL_MAGIC, 13, __u32)
|
||||
#define F2FS_IOC_GET_PIN_FILE _IOW(F2FS_IOCTL_MAGIC, 14, __u32)
|
||||
#define F2FS_IOC_GET_PIN_FILE _IOR(F2FS_IOCTL_MAGIC, 14, __u32)
|
||||
#endif
|
||||
android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(
|
||||
target.c_str(), O_WRONLY, 0)));
|
||||
|
|
Loading…
Reference in a new issue