This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository frozen-bubble.

commit c0f32dc571cac32d7c51621940c121087daef009
Author: gregor herrmann <gre...@debian.org>
Date:   Tue Jun 24 00:14:04 2014 +0200

    use %u and an (unsigned) cast for uid_t, gid_t -- thanks again, olly
    
    Git-Dch: Ignore
---
 debian/patches/hardening-server | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/patches/hardening-server b/debian/patches/hardening-server
index 9050f64..3c871f6 100644
--- a/debian/patches/hardening-server
+++ b/debian/patches/hardening-server
@@ -25,10 +25,10 @@ Last-Update: 2014-06-24
 -                        setgid(user->pw_gid);
 -                        setuid(user->pw_uid);
 +                        if (setgid(user->pw_gid) < 0) {
-+                                l3(OUTPUT_TYPE_ERROR, "Cannot set gid to %d 
for user %s: %s", user->pw_gid, user_to_switch, strerror(errno));
++                                l3(OUTPUT_TYPE_ERROR, "Cannot set gid to %u 
for user %s: %s", (unsigned)user->pw_gid, user_to_switch, strerror(errno));
 +                        }
 +                        if (setuid(user->pw_uid) < 0) {
-+                                l3(OUTPUT_TYPE_ERROR, "Cannot set uid to %d 
for user %s: %s", user->pw_uid, user_to_switch, strerror(errno));
++                                l3(OUTPUT_TYPE_ERROR, "Cannot set uid to %u 
for user %s: %s", (unsigned)user->pw_uid, user_to_switch, strerror(errno));
 +                        }
                  } else {
                          l2(OUTPUT_TYPE_ERROR, "Cannot switch user to %s: %s", 
user_to_switch, strerror(errno));

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/frozen-bubble.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to