[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. 7688f1b398a9e71f239b1a7a6142a2d2d9f2beeb

Clint Adams clint at debian.org
Tue Aug 23 13:12:55 UTC 2011


The following commit has been merged in the upstream branch:
commit 7fd07b780de4e7a9fc7ffaffa624d98343756d75
Author: Kyle J. McKay <mackyle at gmail.com>
Date:   Mon May 30 16:06:55 2011 -0700

    Fix compiler warning in faked.c

diff --git a/faked.c b/faked.c
index ca4d0c2..1b12b1c 100644
--- a/faked.c
+++ b/faked.c
@@ -693,7 +693,7 @@ void process_chmod(struct fake_msg *buf){
     if ((buf->st.mode&S_IFMT) != (st->mode&S_IFMT) &&
         ((buf->st.mode&S_IFMT) != S_IFREG || (!st->mode&(S_IFBLK|S_IFCHR)))) {
       fprintf(stderr,"FAKEROOT: chmod mode=%lo incompatible with "
-              "existing mode=%lo\n", buf->st.mode, st->mode);
+              "existing mode=%lo\n", (unsigned long)buf->st.mode, (unsigned long)st->mode);
       st->mode = buf->st.mode;
     }
     else{

-- 
fakeroot



More information about the Fakeroot-commits mailing list