Re: [PATCH] cast pid_t to long for printing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Uwe Zeisberger <zeisberg@xxxxxxxxxxxxxxxxxxxxxxxxxx> writes:

> While fixing daemon.c, I saw that there is a call to syslog using %d for
> pid_t, too.  I fixed that in the same way without further testing and
> manual reading. I assume that's OK.

Is anybody using pid_t that is wider than int?  IOW, I wonder if
it would make more sense to use "%d" with casting to int.

-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]