=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/patch/mkpath.c,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** src/usr.bin/patch/mkpath.c 2013/11/12 13:51:42 1.3 --- src/usr.bin/patch/mkpath.c 2014/05/20 01:25:23 1.4 *************** *** 1,4 **** ! /* $OpenBSD: mkpath.c,v 1.3 2013/11/12 13:51:42 deraadt Exp $ */ /* * Copyright (c) 1983, 1992, 1993 * The Regents of the University of California. All rights reserved. --- 1,4 ---- ! /* $OpenBSD: mkpath.c,v 1.4 2014/05/20 01:25:23 guenther Exp $ */ /* * Copyright (c) 1983, 1992, 1993 * The Regents of the University of California. All rights reserved. *************** *** 65,71 **** return (-1); } } else if (!S_ISDIR(sb.st_mode)) { ! warnx("%s: %s", path, strerror(ENOTDIR)); return (-1); } --- 65,71 ---- return (-1); } } else if (!S_ISDIR(sb.st_mode)) { ! warnc(ENOTDIR, "%s", path); return (-1); }