]> git.ipfire.org Git - thirdparty/util-linux.git/commit
uuidd: use pid_t type when referring to process id
authorSami Kerola <kerolasa@iki.fi>
Fri, 20 Nov 2020 22:05:46 +0000 (22:05 +0000)
committerSami Kerola <kerolasa@iki.fi>
Mon, 23 Nov 2020 21:34:39 +0000 (21:34 +0000)
commitc14e0f62396aeba33c3f176ab92dfb362c7199ea
tree7e61b6adda7b6e7450c8fa8525a6d6ab63a009e8
parent1e416dc0b9933961e75ac67fa3aed7598273443f
uuidd: use pid_t type when referring to process id

Earlier use of a variable that holds switch enabling boolean to hold process
id was a little bit strange, and not exactly correct.  An int should be good
enough to hold any pid, but it is better to be precise and use the type that
is meant for the job.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
misc-utils/uuidd.c