diff options
author | Jan Luebbe <jluebbe@debian.org> | 2009-08-12 19:59:27 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-08-12 22:22:26 +0200 |
commit | 1da59edf83b0a83ae648b6f12372b56321284935 (patch) | |
tree | 0fbc384c1d06a24994aa0ef65a221be2c059441f /openbsc | |
parent | ebcce2aae13952283fa5519fa7f31958c7c696d6 (diff) |
fix a wrong format specifier
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/db.c b/openbsc/src/db.c index f610bfc4e..001605a46 100644 --- a/openbsc/src/db.c +++ b/openbsc/src/db.c @@ -427,7 +427,7 @@ int db_subscriber_alloc_exten(struct gsm_subscriber* subscriber) { try = (rand()%(GSM_MAX_EXTEN+1)+GSM_MIN_EXTEN)%(GSM_MAX_EXTEN+1); result = dbi_conn_queryf(conn, "SELECT * FROM Subscriber " - "WHERE extension = %llu", + "WHERE extension = %i", try ); if (result==NULL) { |