[systemd-devel] [PATCH] core: use correct format string for UIDs

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Jun 25 22:57:15 PDT 2014


On Wed, Jun 25, 2014 at 02:54:48PM +0200, Michał Bartoszkiewicz wrote:
> ---
>  src/core/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/core/main.c b/src/core/main.c
> index 6981e72..8ee12ef 100644
> --- a/src/core/main.c
> +++ b/src/core/main.c
> @@ -1548,7 +1548,7 @@ int main(int argc, char *argv[]) {
>                          log_info("Running with unpopulated /etc.");
>          } else {
>                  _cleanup_free_ char *t = uid_to_name(getuid());
> -                log_debug(PACKAGE_STRING " running in user mode for user "PID_FMT"/%s. (" SYSTEMD_FEATURES ")",
> +                log_debug(PACKAGE_STRING " running in user mode for user "UID_FMT"/%s. (" SYSTEMD_FEATURES ")",
>                            getuid(), t);
>          }
Applied.

Zbyszek


More information about the systemd-devel mailing list