summaryrefslogtreecommitdiff
path: root/src/nss-myhostname
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-03-01 12:08:02 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-03-02 10:42:28 -0500
commit6307c39b94344b901c1d6e0df7ee58644a8809bf (patch)
tree951a917f1349fbc7b13c5ac5d95173db77d9cfcf /src/nss-myhostname
parentfed527aa5b1bf6855de2f76c22689b99a810122b (diff)
Redefine 32bit time_t format to signed
It seems that it is signed both on i386 and arm. Avoids a stupid gcc warning on arm: src/udev/udevadm-monitor.c: In function ‘print_device’: src/udev/udevadm-monitor.c:44:16: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘__time_t {aka long int}’ [-Wformat=] printf("%-6s[%"PRI_TIME".%06ld] %-8s %s (%s)\n", ^
Diffstat (limited to 'src/nss-myhostname')
0 files changed, 0 insertions, 0 deletions