aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-04-14 11:25:31 +0200
committerTobias Brunner <tobias@strongswan.org>2011-04-14 18:10:27 +0200
commitbac28c73ed4fa3298c163d23f2e3baa4e5513670 (patch)
tree8371971abe61dd2a6f451a4033dc148ff6717fb8 /src/starter
parente51cae33a9110e109400c1e8d6f8e7a314ae4bc6 (diff)
downloadstrongswan-bac28c73ed4fa3298c163d23f2e3baa4e5513670.tar.bz2
strongswan-bac28c73ed4fa3298c163d23f2e3baa4e5513670.tar.xz
starter_conn_t.id is an unsigned long.
Diffstat (limited to 'src/starter')
-rw-r--r--src/starter/starterstroke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c
index f251667c7..7272b2530 100644
--- a/src/starter/starterstroke.c
+++ b/src/starter/starterstroke.c
@@ -118,7 +118,7 @@ static char* connection_name(starter_conn_t *conn)
if (streq(conn->name, "%auto"))
{
- sprintf(buf, "conn_%ld", conn->id);
+ sprintf(buf, "conn_%lu", conn->id);
return buf;
}
return conn->name;