Typos and spelling fixes.
Submitted by: charnier
This commit is contained in:
parent
75e5dfa3fc
commit
9a6aa17ad1
@ -32,15 +32,15 @@
|
||||
.Nd synchronize a file's in-core state with that on disk
|
||||
.Sh SYNOPSIS
|
||||
.Nm fsync
|
||||
.Ar file ...
|
||||
.Ar
|
||||
.Sh DESCRIPTION
|
||||
.Nm Fsync
|
||||
causes all modified data and meta-data of
|
||||
a file to be written to a permanent storage device.
|
||||
.Pp
|
||||
.Nm Fync
|
||||
.Nm Fsync
|
||||
utilizes the
|
||||
.Xr fync 2
|
||||
.Xr fsync 2
|
||||
function call.
|
||||
.Sh SEE ALSO
|
||||
.Xr fsync 2 ,
|
||||
|
@ -22,10 +22,13 @@
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static const char rcsid[] =
|
||||
"$FreeBSD$";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <err.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
@ -57,6 +60,6 @@ main(int argc, char *argv[])
|
||||
void
|
||||
usage()
|
||||
{
|
||||
fprintf(stderr, "usaged: fsync file ...\n");
|
||||
fprintf(stderr, "usage: fsync file ...\n");
|
||||
exit(EX_USAGE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user