diff options
author | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-04-19 18:26:07 +0000 |
---|---|---|
committer | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-04-19 18:26:07 +0000 |
commit | a7d3e8ca47a31f24f3463bf602688143464adaa3 (patch) | |
tree | d0eab2475ba871b2aa9264443e801ce5d189a36b /usr.sbin/rpc.pcnfsd | |
parent | bf9b4eed80a8dbba5a4bd47db1e2a11ceaba0a6f (diff) |
transposed args to snprintf, millert@ ok
Diffstat (limited to 'usr.sbin/rpc.pcnfsd')
-rw-r--r-- | usr.sbin/rpc.pcnfsd/pcnfsd_print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpc.pcnfsd/pcnfsd_print.c b/usr.sbin/rpc.pcnfsd/pcnfsd_print.c index b17bf9270c1..92f32b901c9 100644 --- a/usr.sbin/rpc.pcnfsd/pcnfsd_print.c +++ b/usr.sbin/rpc.pcnfsd/pcnfsd_print.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcnfsd_print.c,v 1.17 2003/04/05 10:43:39 avsm Exp $ */ +/* $OpenBSD: pcnfsd_print.c,v 1.18 2003/04/19 18:26:06 avsm Exp $ */ /* $NetBSD: pcnfsd_print.c,v 1.3 1995/08/14 19:45:18 gwr Exp $ */ /* @@ -220,7 +220,7 @@ pr_start2(system, pr, user, fname, opts, id) */ if (!stat(new_pathname, &statbuf)) { if (snprintf(new_pathname, sizeof new_pathname, "%s%d.spl", - rand(), pathname) >= sizeof new_pathname) { + pathname, rand()) >= sizeof new_pathname) { snprintf(tempstr, sizeof tempstr, "rpc.pcnfsd: spool file rename (%s->%s) failed.\n", pathname, new_pathname); |