From 2f072eba3d0f045cd540d29ba2f5c195f056793b Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Fri, 20 Nov 2015 20:13:27 +0300 Subject: replace mktemp with mkstemp --- accel-pppd/extra/pppd_compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accel-pppd/extra') diff --git a/accel-pppd/extra/pppd_compat.c b/accel-pppd/extra/pppd_compat.c index 482a7080..25223a87 100644 --- a/accel-pppd/extra/pppd_compat.c +++ b/accel-pppd/extra/pppd_compat.c @@ -429,7 +429,7 @@ static void write_radattr(struct pppd_compat_pd *pd, struct rad_packet_t *pack) } } else { sprintf(fname1, "%s.XXXXXX", conf_radattr_prefix); - mktemp(fname1); + mkstemp(fname1); } f = fopen(fname1, "w"); -- cgit v1.2.3