summaryrefslogtreecommitdiffstats
path: root/usr.bin/fsync
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2000-07-24 20:35:19 +0000
committerps <ps@FreeBSD.org>2000-07-24 20:35:19 +0000
commit9a6aa17ad1507ffe2555bc3a7274b3d116ba78f5 (patch)
tree5c8e498e65dec4ffc95988805e4cdeee659ec404 /usr.bin/fsync
parent75e5dfa3fc08288e085341d70369e2de188e7bf6 (diff)
downloadFreeBSD-src-9a6aa17ad1507ffe2555bc3a7274b3d116ba78f5.zip
FreeBSD-src-9a6aa17ad1507ffe2555bc3a7274b3d116ba78f5.tar.gz
Typos and spelling fixes.
Submitted by: charnier
Diffstat (limited to 'usr.bin/fsync')
-rw-r--r--usr.bin/fsync/fsync.16
-rw-r--r--usr.bin/fsync/fsync.c9
2 files changed, 9 insertions, 6 deletions
diff --git a/usr.bin/fsync/fsync.1 b/usr.bin/fsync/fsync.1
index 8cab0c6..c8a8bbd 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 e9a115f..fbbacf2 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 <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);
}
OpenPOWER on IntegriCloud