public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e653fda
)
sync: fix compile error
author
Alan Cox
<alan@linux.intel.com>
Wed, 12 Oct 2016 18:37:31 +0000
(19:37 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Wed, 12 Oct 2016 18:37:31 +0000
(19:37 +0100)
sync() is void and now correctly defined so return sync() fails.
Applications/util/sync.c
patch
|
blob
|
history
diff --git
a/Applications/util/sync.c
b/Applications/util/sync.c
index
863d689
..
37527f8
100644
(file)
--- a/
Applications/util/sync.c
+++ b/
Applications/util/sync.c
@@
-1,6
+1,7
@@
#include <unistd.h>
-main(int argc, const char *argv[])
+
int
main(int argc, const char *argv[])
{
- return sync();
+ sync();
+ return 0;
}