summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2012-08-02 14:59:37 +1000
committerAndrew Tridgell <tridge@samba.org>2012-08-02 08:59:24 +0200
commit02dcf059149174beab3528d201fd36e313ba5ee5 (patch)
tree23adbd5c51f8e6c178619e4ee4fcc0b34e0a6857 /source4
parentb93e6ef5e70bd90a06ae80b209a10456ca461a62 (diff)
downloadsamba-02dcf059149174beab3528d201fd36e313ba5ee5.tar.gz
samba-02dcf059149174beab3528d201fd36e313ba5ee5.tar.bz2
samba-02dcf059149174beab3528d201fd36e313ba5ee5.zip
heimdal: fixed -Werror=format error in com_err
This needs to be merged upstream Autobuild-User(master): Andrew Tridgell <tridge@samba.org> Autobuild-Date(master): Thu Aug 2 08:59:24 CEST 2012 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r--source4/heimdal/lib/com_err/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/heimdal/lib/com_err/error.c b/source4/heimdal/lib/com_err/error.c
index 6864e870a4..bf046da225 100644
--- a/source4/heimdal/lib/com_err/error.c
+++ b/source4/heimdal/lib/com_err/error.c
@@ -65,7 +65,7 @@ com_right_r(struct et_list *list, long code, char *str, size_t len)
const char *msg = p->table->msgs[code - p->table->base];
#ifdef LIBINTL
char domain[12 + 20];
- snprintf(domain, sizeof(domain), "heim_com_err%d", p->table->base);
+ snprintf(domain, sizeof(domain), "heim_com_err%ld", p->table->base);
#endif
strlcpy(str, dgettext(domain, msg), len);
return str;