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); }