]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
logger: remove unnecessary comment
authorKarel Zak <kzak@redhat.com>
Thu, 29 Oct 2015 10:32:50 +0000 (11:32 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 29 Oct 2015 10:32:50 +0000 (11:32 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/logger.c

index e4cb12ae9968b29a2030b96f3374e490df7b7fe0..eda160acd37fd165c99403246dea2a7cd38bc46a 100644 (file)
@@ -469,7 +469,7 @@ static void write_output(const struct logger_ctl *ctl, const char *const msg)
                    && geteuid() == 0 && kill(ctl->pid, 0) == 0) {
 
                        msg.msg_control = cbuf.control;
-                       msg.msg_controllen = CMSG_SPACE(sizeof(struct ucred)); //sizeof(cbuf);
+                       msg.msg_controllen = CMSG_SPACE(sizeof(struct ucred));
 
                        cmhp = CMSG_FIRSTHDR(&msg);
                        cmhp->cmsg_len = CMSG_LEN(sizeof(struct ucred));