summaryrefslogtreecommitdiff
path: root/src/basic/formats-util.h
Commit message (Collapse)AuthorAge
* core: set $JOURNAL_STREAM to the dev_t/ino_t of the journal stream of ↵Lennart Poettering2017-06-16
| | | | | | | | | | executed services This permits services to detect whether their stdout/stderr is connected to the journal, and if so talk to the journal directly, thus permitting carrying of metadata. As requested by the gtk folks: #2473
* Redefine 32bit time_t format to signedZbigniew Jędrzejewski-Szmek2017-06-16
| | | | | | | | | | | 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", ^
* util-lib: move formats-util.h from shared/ to basic/Lennart Poettering2017-04-26
It's only a header file, definining format strings for basic system types, hence it should be in src/basic/, not src/shared/.