Get rid of compile warning
authorDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Fri, 12 Jun 2009 23:16:37 +0000 (19:16 -0400)
committerDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Fri, 12 Jun 2009 23:16:37 +0000 (19:16 -0400)
src/zfsaddhomedir.c

index 6b219e4..5f65c07 100644 (file)
@@ -47,7 +47,7 @@ int main(int argc, char *argv[]) {
         }
 
         if(seteuid(uid) != 0 || setegid(gid) != 0)
-            errorpe("failed to seteuid(%d) or setegid(%d)", uid, gid);
+            errorpe("failed to seteuid(%d) or setegid(%d)", (int)uid, (int)gid);
             return 1;
         if(spawnv(rsync_bin, rsync_argv))
             return 1;