This will make further uid/gid fixes simpler.
* util.c (printuid): Move
* uid.c: ... here.
}
return 0;
}
+
+void
+printuid(const char *text, const unsigned int uid)
+{
+ if ((unsigned int) -1 == uid)
+ tprintf("%s-1", text);
+ else
+ tprintf("%s%u", text, uid);
+}
tprintf("%d", fd);
}
-void
-printuid(const char *text, const unsigned int uid)
-{
- if ((unsigned int) -1 == uid)
- tprintf("%s-1", text);
- else
- tprintf("%s%u", text, uid);
-}
-
/*
* Quote string `instr' of length `size'
* Write up to (3 + `size' * 4) bytes to `outstr' buffer.