=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/diff/diff.c,v retrieving revision 1.64 retrieving revision 1.65 diff -u -r1.64 -r1.65 --- src/usr.bin/diff/diff.c 2015/10/26 12:52:27 1.64 +++ src/usr.bin/diff/diff.c 2015/12/29 19:04:46 1.65 @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.c,v 1.64 2015/10/26 12:52:27 tedu Exp $ */ +/* $OpenBSD: diff.c,v 1.65 2015/12/29 19:04:46 gsoares Exp $ */ /* * Copyright (c) 2003 Todd C. Miller @@ -212,7 +212,7 @@ argv += optind; if (pledge("stdio rpath tmppath", NULL) == -1) - err(1, "pledge"); + err(2, "pledge"); /* * Do sanity checks, fill in stb1 and stb2 and call the appropriate