summaryrefslogtreecommitdiff
path: root/bin/md5
diff options
context:
space:
mode:
Diffstat (limited to 'bin/md5')
-rw-r--r--bin/md5/md5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/md5/md5.c b/bin/md5/md5.c
index 63751cb1e18..e22c352f62d 100644
--- a/bin/md5/md5.c
+++ b/bin/md5/md5.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: md5.c,v 1.80 2015/10/03 03:28:35 deraadt Exp $ */
+/* $OpenBSD: md5.c,v 1.81 2015/10/04 04:56:50 deraadt Exp $ */
/*
* Copyright (c) 2001,2003,2005-2007,2010,2013,2014
@@ -314,7 +314,7 @@ main(int argc, char **argv)
if (ofile == NULL)
ofile = stdout;
- if (tame("stdio rpath", NULL) != 0)
+ if (tame("stdio rpath", NULL) == -1)
err(1, "tame");
/* Most arguments are mutually exclusive */