summaryrefslogtreecommitdiffstats
path: root/sbin/md5
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-11-11 11:59:03 +0000
committerobrien <obrien@FreeBSD.org>1999-11-11 11:59:03 +0000
commit06059e1bbb1031f028b57967cccc9aea3d3a0004 (patch)
tree4d8195b024ad6655acbae295be99f167bd163c9a /sbin/md5
parentc77b4f2f1283bd2abb721d83b3bba858770752cd (diff)
downloadFreeBSD-src-06059e1bbb1031f028b57967cccc9aea3d3a0004.zip
FreeBSD-src-06059e1bbb1031f028b57967cccc9aea3d3a0004.tar.gz
Make `-r -s' also match the BSDI output.
Diffstat (limited to 'sbin/md5')
-rw-r--r--sbin/md5/md5.12
-rw-r--r--sbin/md5/md5.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sbin/md5/md5.1 b/sbin/md5/md5.1
index 5bf3fc6..c3c3e50 100644
--- a/sbin/md5/md5.1
+++ b/sbin/md5/md5.1
@@ -41,7 +41,7 @@ Echo stdin to stdout and appends the MD5 sum to stdout.
.It Fl r
Reverses the format of the output. This helps with visual diffs. Does nothing
when combined with the
-.Fl stpx
+.Fl ptx
options.
.It Fl t
Run a built-in time trial.
diff --git a/sbin/md5/md5.c b/sbin/md5/md5.c
index 43bb580..c20d659 100644
--- a/sbin/md5/md5.c
+++ b/sbin/md5/md5.c
@@ -114,7 +114,7 @@ MDString(string)
char buf[33];
if (rflag)
- printf("%s (\"%s\")\n", MD5Data(string, len, buf), string);
+ printf("%s \"%s\"\n", MD5Data(string, len, buf), string);
else
printf("MD5 (\"%s\") = %s\n", string, MD5Data(string, len, buf));
}
OpenPOWER on IntegriCloud