b1de2b70bc
On 32bit arches where time_t is defined as long int and where sizeof(long)==sizeof(int), PRI_TIME is PRIu32 which is "u" and gcc warns about ignoring the long part of the integer type. There is no problem besides the warning. Use "lu" in the above conditions and PRIu32 in all other 32bit time_t cases. udevadm-monitor.c: In function ‘print_device’: udevadm-monitor.c:49:16: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 49 | printf("%-6s[%"PRI_TIME".%06ld] %-8s %s (%s)\n", | ^~~~~~~~ 50 | source, 51 | ts.tv_sec, ts.tv_nsec/1000, | ~~~~~~~~~ | | | __time_t {aka long int} In file included from ../../src/shared/macro.h:26, from udev.h:26, from udevadm-monitor.c:35: /usr/include/inttypes.h:104:19: note: format string is defined here 104 | # define PRIu32 "u" |
||
---|---|---|
.github/workflows | ||
hwdb | ||
man | ||
rule_generator | ||
rules | ||
src | ||
test | ||
.gitignore | ||
.travis.yml | ||
autogen.sh | ||
BUILD | ||
configure.ac | ||
CONTRIBUTING | ||
COPYING | ||
LEGACY | ||
Makefile.am | ||
NOTES | ||
README.md |
This git repo is a fork of git://anongit.freedesktop.org/systemd/systemd with the aim of isolating udev from any particular flavor of system initialization. In this case, the isolation is from systemd.
This is a project started by Gentoo developers and testing was initially being done mostly on OpenRC. We welcome contribution from others using a variety of system initializations to ensure eudev remains system initialization and distribution neutral. On 2021-08-20 Gentoo decided to abandon eudev and a new project was established on 2021-09-14 by Alpine, Devuan and Gentoo contributors (alphabetical order).
Homepage: https://github.com/eudev-project/eudev
Tarballs of releases: https://github.com/eudev-project/eudev/releases
Old releases (archive): http://dev.gentoo.org/~blueness/eudev/
The eudev community gathers on Libera.Chat:
ircs://irc.libera.chat:6697/#eudev
https://web.libera.chat/#eudev
Active team members (alphabetical order by last name):
Arsen Asenović (Arsen) <arsen@aarsen.me>
Luca Barbato (lu_zero) <lu_zero@gentoo.org>
Anthony G. Basile (blueness) <blueness@gentoo.org>
Boian Bonev (bb|hcb) <boian@bonev.com>
Ariadne Conill (Ariadne) <ariadne@dereferenced.org>
Emeritus team members (alphabetical order by last name):
Francisco Izquierdo (klondike) <klondike@gentoo.org>
Ian Stakenvicius (axs) <axs@gentoo.org>
Matthew Thode (prometheanfire) <prometheanfire@gentoo.org>
Tony Vroon (chainsaw) <tony@linx.net>
Richard Yao (ryao) <ryao@gentoo.org>