diff options
author | jcid <devnull@localhost> | 2008-01-02 14:50:36 +0100 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-01-02 14:50:36 +0100 |
commit | f26816711d6e756a76e537a210e48fa416b8260f (patch) | |
tree | fad8ce7c47dbb253f1e5294819ad211ae4ee3d43 /dpid/dpid.c | |
parent | 5ca49ae150a68fd45fdfefc853005e9ef08a6982 (diff) |
- Removed a warning in dpi by adding a mkfname function.
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); |