From 9a6aa17ad1507ffe2555bc3a7274b3d116ba78f5 Mon Sep 17 00:00:00 2001 From: ps Date: Mon, 24 Jul 2000 20:35:19 +0000 Subject: [PATCH] Typos and spelling fixes. Submitted by: charnier --- usr.bin/fsync/fsync.1 | 6 +++--- usr.bin/fsync/fsync.c | 9 ++++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/usr.bin/fsync/fsync.1 b/usr.bin/fsync/fsync.1 index 8cab0c63b2f7..c8a8bbd402f0 100644 --- a/usr.bin/fsync/fsync.1 +++ b/usr.bin/fsync/fsync.1 @@ -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 , diff --git a/usr.bin/fsync/fsync.c b/usr.bin/fsync/fsync.c index e9a115fa838c..fbbacf20372f 100644 --- a/usr.bin/fsync/fsync.c +++ b/usr.bin/fsync/fsync.c @@ -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 #include #include @@ -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); }