summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-05-17 17:36:38 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-05-20 22:37:25 +0200
commit7486dea9f5f7b2a6fbbacc6db740a82140b6377c (patch)
treea7f7cfc4f772860423e56d363ade1f6408f45f71 /src/db
parent574061e65d3fb687b9cb2c757afa1fe92812245e (diff)
downloadsssd-7486dea9f5f7b2a6fbbacc6db740a82140b6377c.tar.gz
sssd-7486dea9f5f7b2a6fbbacc6db740a82140b6377c.tar.bz2
sssd-7486dea9f5f7b2a6fbbacc6db740a82140b6377c.zip
Fixing critical format string issues.
--missing arguments. --format '%s', but argument is integer. --wrong format string, examle: '%\n'
Diffstat (limited to 'src/db')
-rw-r--r--src/db/sysdb_idmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/db/sysdb_idmap.c b/src/db/sysdb_idmap.c
index 612a42aa..7b46ae66 100644
--- a/src/db/sysdb_idmap.c
+++ b/src/db/sysdb_idmap.c
@@ -196,7 +196,8 @@ sysdb_idmap_store_mapping(struct sysdb_ctx *sysdb,
if (slice_num != old_slice) {
DEBUG(SSSDBG_FATAL_FAILURE,
("Detected attempt to change slice value for sid [%s] "
- "This will break existing users. Refusing to perform.\n"));
+ "This will break existing users. Refusing to perform.\n",
+ dom_sid));
ret = EINVAL;
goto done;
}