diff options
author | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-07-02 00:41:16 +0000 |
---|---|---|
committer | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-07-02 00:41:16 +0000 |
commit | 9cce1c403ce9ac9c03370f83e2027955898638dc (patch) | |
tree | d3278990a7722963cb37a82cd7598ca2ce8a7ec9 /usr.sbin/pkg_install | |
parent | 21bb4a064acbe809c6d8175c1bb7b3db87ea68a5 (diff) |
bump mktemp randomness from 6 to 10 X's
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r-- | usr.sbin/pkg_install/delete/perform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/delete/perform.c b/usr.sbin/pkg_install/delete/perform.c index 856ad26ff02..f52a820bca3 100644 --- a/usr.sbin/pkg_install/delete/perform.c +++ b/usr.sbin/pkg_install/delete/perform.c @@ -1,7 +1,7 @@ -/* $OpenBSD: perform.c,v 1.12 2003/04/04 08:56:01 avsm Exp $ */ +/* $OpenBSD: perform.c,v 1.13 2003/07/02 00:41:15 avsm Exp $ */ #ifndef lint -static const char *rcsid = "$OpenBSD: perform.c,v 1.12 2003/04/04 08:56:01 avsm Exp $"; +static const char *rcsid = "$OpenBSD: perform.c,v 1.13 2003/07/02 00:41:15 avsm Exp $"; #endif /* @@ -279,7 +279,7 @@ undepend(const char *deppkgname, char *pkg2delname, int unused) pwarnx("couldn't open dependency file `%s'", fname); return 0; } - (void) snprintf(ftmp, sizeof(ftmp), "%s.XXXXXX", fname); + (void) snprintf(ftmp, sizeof(ftmp), "%s.XXXXXXXXXX", fname); s = mkstemp(ftmp); if (s == -1) { fclose(fp); |