From: millert Date: Fri, 3 Jan 1997 22:49:22 +0000 (+0000) Subject: Better error on failure. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=74a05bc78c89e0404cc78895c24b9589347ba37e;p=openbsd Better error on failure. --- diff --git a/usr.bin/mktemp/mktemp.c b/usr.bin/mktemp/mktemp.c index 666fd4f00b1..6ebeb1cb7ae 100644 --- a/usr.bin/mktemp/mktemp.c +++ b/usr.bin/mktemp/mktemp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mktemp.c,v 1.1 1996/11/21 07:59:33 millert Exp $ */ +/* $OpenBSD: mktemp.c,v 1.2 1997/01/03 22:49:22 millert Exp $ */ /* * Copyright (c) 1996 Todd C. Miller @@ -31,7 +31,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: mktemp.c,v 1.1 1996/11/21 07:59:33 millert Exp $"; +static char rcsid[] = "$OpenBSD: mktemp.c,v 1.2 1997/01/03 22:49:22 millert Exp $"; #endif /* not lint */ #include @@ -84,7 +84,7 @@ main(argc, argv) if (qflag) exit(1); else - err(1, "Cannot create temp file"); + err(1, "Cannot create temp file %s", template); } if (uflag)