diff options
Diffstat (limited to 'dpid/dpid.c')
-rw-r--r-- | dpid/dpid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dpid/dpid.c b/dpid/dpid.c index f62aab5f..4f2acc2f 100644 --- a/dpid/dpid.c +++ b/dpid/dpid.c @@ -608,7 +608,7 @@ int init_dpi_socket(struct dp *dpi_attr, char *sockdir) dpi_nm = get_basename(dpi_attr->path); dpi_attr->sockpath = dStrconcat(sockdir, "/", dpi_nm, "-XXXXXX", NULL); - mktemp(dpi_attr->sockpath); + a_Misc_mkfname(dpi_attr->sockpath); if (strlen(dpi_attr->sockpath) > sp_len) { ERRMSG("init_all_dpi_sockets", "socket path is too long", 0); MSG_ERR("\n - it should be <= %lu chars", (ulong_t)sp_len); |