Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
9232da4a
Commit
9232da4a
authored
7 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
fs/vfs: Remove warning generated by fcntl()
parent
9ea215f2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fs/vfs/fs_fcntl.c
+1
-2
1 addition, 2 deletions
fs/vfs/fs_fcntl.c
with
1 addition
and
2 deletions
fs/vfs/fs_fcntl.c
+
1
−
2
View file @
9232da4a
...
...
@@ -77,7 +77,7 @@
#if CONFIG_NFILE_DESCRIPTORS > 0
int
file_vfcntl
(
FAR
struct
file
*
filep
,
int
cmd
,
va_list
ap
)
{
int
ret
;
int
ret
=
-
EINVAL
;
/* Was this file opened ? */
...
...
@@ -205,7 +205,6 @@ int file_vfcntl(FAR struct file *filep, int cmd, va_list ap)
break
;
default:
ret
=
-
EINVAL
;
break
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment