diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-03 17:25:04 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-03 17:25:04 +0200 |
commit | 5f721fbf527d0d08b5387d6e4d761f410f83de4b (patch) | |
tree | 85b34623c82e526cea499602da9dda4f23b4f8b6 | |
parent | 5de13dc747bd3ad913b64726c83d60d31d44e1b1 (diff) | |
download | cifs_idmap_sss-5f721fbf527d0d08b5387d6e4d761f410f83de4b.tar.gz cifs_idmap_sss-5f721fbf527d0d08b5387d6e4d761f410f83de4b.tar.bz2 cifs_idmap_sss-5f721fbf527d0d08b5387d6e4d761f410f83de4b.zip |
Remove duplicate \n
-rw-r--r-- | cifs_idmap_sss.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cifs_idmap_sss.c b/cifs_idmap_sss.c index 5be3294..3e3e0b5 100644 --- a/cifs_idmap_sss.c +++ b/cifs_idmap_sss.c @@ -154,7 +154,7 @@ int cifs_idmap_str_to_sid(void *handle, const char *name, debug("%s", name); if (strncmp("S-", name, 2) == 0) { - debug("%s: name is sid string representation\n", __FUNCTION__); + debug("%s: name is sid string representation", __FUNCTION__); str_sid = strdup(name); } else { err = sss_nss_getsidbyname(name, &str_sid, &id_type); @@ -175,7 +175,7 @@ int cifs_idmap_str_to_sid(void *handle, const char *name, } if (length > sizeof(struct cifs_sid)) { debug("length: %zd", length); - ctx_set_error(ctx, "incompatible internal sid length\n"); + ctx_set_error(ctx, "incompatible internal sid length"); success = -1; goto out; } @@ -239,7 +239,7 @@ int cifs_idmap_sids_to_ids(void *handle, const struct cifs_sid *sid, } debug("setting uid of %s to %d", str_sid, cuxid[i].id.uid); } - debug("str_sid: %s, id: %d\n", str_sid, cuxid[i].id.uid); + debug("str_sid: %s, id: %d", str_sid, cuxid[i].id.uid); success = 0; @@ -296,7 +296,7 @@ int cifs_idmap_ids_to_sids(void *handle, const struct cifs_uxid *cuxid, } if (length > sizeof(struct cifs_sid)) { debug("length: %zd", length); - ctx_set_error(ctx, "incompatible internal sid length\n"); + ctx_set_error(ctx, "incompatible internal sid length"); success = -1; continue; } |