diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2000-05-14 20:35:53 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2000-05-14 20:35:53 +0000 |
commit | d699bf4063041c0be2e874a639880b59078eefdc (patch) | |
tree | 678a556b407c8ed770d93270e5d1374fa1b17c45 /libdiskfs/opts-common.c | |
parent | be15ddb8f111be6e9ad0049e586005366e144a04 (diff) | |
download | hurd-d699bf4063041c0be2e874a639880b59078eefdc.tar.gz hurd-d699bf4063041c0be2e874a639880b59078eefdc.tar.bz2 hurd-d699bf4063041c0be2e874a639880b59078eefdc.zip |
2000-05-14 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
* priv.h (DEFAULT_SYNC_INTERVAL): New macro.
(DEFAULT_SYNC_INTERVAL_STRING): Likewise.
(STRINGIFY): Likewise.
(STRINGIFY_1): Likewise.
* opts-common.h (diskfs_common_options): Use
DEFAULT_SYNC_INTERVAL_STRING instead hardcoded value.
* sync-default.h: Include "priv.h". Use DEFAULT_SYNC_INTERVAL
instead hardcoded value.
Diffstat (limited to 'libdiskfs/opts-common.c')
-rw-r--r-- | libdiskfs/opts-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/opts-common.c b/libdiskfs/opts-common.c index 05de5144..97d511e0 100644 --- a/libdiskfs/opts-common.c +++ b/libdiskfs/opts-common.c @@ -34,7 +34,7 @@ const struct argp_option diskfs_common_options[] = {"sync", 's', "INTERVAL", OPTION_ARG_OPTIONAL, "If INTERVAL is supplied, sync all data not actually written to disk" " every INTERVAL seconds, otherwise operate in synchronous mode (the" - " default is to sync every 30 seconds)"}, + " default is to sync every " DEFAULT_SYNC_INTERVAL_STRING " seconds)"}, {"no-sync", 'n', 0, 0, "Don't automatically sync data to disk"}, {"nosync", 0, 0, OPTION_ALIAS | OPTION_HIDDEN}, {"no-suid", 'S', 0, 0, "Don't permit set-uid or set-gid execution"}, |