DragonFly BSD
DragonFly submit List (threaded) for 2011-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

fix typo in sbin/md5/md5.c


From: Maurizio Lombardi <m.lombardi85@xxxxxxxxx>
Date: Mon, 11 Apr 2011 21:19:08 +0200

Fix typo in sbin/md5/md5.c

diff --git a/sbin/md5/md5.c b/sbin/md5/md5.c
index 4c44f2b..22c3929 100644
--- a/sbin/md5/md5.c
+++ b/sbin/md5/md5.c
@@ -158,7 +158,7 @@ digestfile(const char *fname, char *buf, const Algorithm_t *alg,
 	}
 	if (begin > end) {
 		warnx("%s is %jd bytes long. Begin-offset %jd (%jd) is "
-		    "larger than end-offet %jd (%jd)",
+		    "larger than end-offset %jd (%jd)",
 		    fname, (intmax_t)st.st_size,
 		    (intmax_t)begin, (intmax_t)*beginp,
 		    (intmax_t)end, (intmax_t)*endp);

diff --git a/sbin/md5/md5.c b/sbin/md5/md5.c
index 4c44f2b..22c3929 100644
--- a/sbin/md5/md5.c
+++ b/sbin/md5/md5.c
@@ -158,7 +158,7 @@ digestfile(const char *fname, char *buf, const Algorithm_t *alg,
 	}
 	if (begin > end) {
 		warnx("%s is %jd bytes long. Begin-offset %jd (%jd) is "
-		    "larger than end-offet %jd (%jd)",
+		    "larger than end-offset %jd (%jd)",
 		    fname, (intmax_t)st.st_size,
 		    (intmax_t)begin, (intmax_t)*beginp,
 		    (intmax_t)end, (intmax_t)*endp);


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]