aboutsummaryrefslogtreecommitdiff
path: root/sbin/md5
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-11-11 11:59:03 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-11-11 11:59:03 +0000
commit73fd27179f32570ddf67874b19032f1d4f3a912c (patch)
tree4d8195b024ad6655acbae295be99f167bd163c9a /sbin/md5
parent427ccf0071658f5ae1fe47701ad9c8144c7d910e (diff)
downloadsrc-73fd27179f32570ddf67874b19032f1d4f3a912c.tar.gz
src-73fd27179f32570ddf67874b19032f1d4f3a912c.zip
Make `-r -s' also match the BSDI output.
Notes
Notes: svn path=/head/; revision=53092
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 5bf3fc605b92..c3c3e507688d 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 43bb580a994c..c20d65936e1d 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));
}