summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-07-24 19:58:59 -0500
committerRob Landley <rob@landley.net>2015-07-24 19:58:59 -0500
commitd073e1c0aa17f36fe28338a0787e6b07cc463a1d (patch)
tree32e17e7e30d4ca7ccb1bf7ea2b4f159de0ec7826
parentb9fb3067822c0a347905db81af0496743733fad5 (diff)
downloadtoybox-d073e1c0aa17f36fe28338a0787e6b07cc463a1d.tar.gz
toybox-d073e1c0aa17f36fe28338a0787e6b07cc463a1d.tar.bz2
toybox-d073e1c0aa17f36fe28338a0787e6b07cc463a1d.zip
Promote fsync.
-rw-r--r--toys/other/fsync.c (renamed from toys/pending/fsync.c)7
1 files changed, 4 insertions, 3 deletions
diff --git a/toys/pending/fsync.c b/toys/other/fsync.c
index bf673df..e6f6c8d 100644
--- a/toys/pending/fsync.c
+++ b/toys/other/fsync.c
@@ -8,14 +8,15 @@ USE_FSYNC(NEWTOY(fsync, "<1d", TOYFLAG_BIN))
config FSYNC
bool "fsync"
- default n
+ default y
help
- usage: fsync [d] [FILE...]
+ usage: fsync [-d] [FILE...]
Synchronize a file's in-core state with storage device.
- -d Avoid syncing metadata.
+ -d Avoid syncing metadata.
*/
+
#define FOR_fsync
#include "toys.h"