summaryrefslogtreecommitdiff
path: root/src/shared/time-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-19 17:29:39 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-19 17:29:39 +0200
commitc3f841063db371b9824b9f91df96a66dfbd24f83 (patch)
tree60cb24e4bbca01829a6044431c529af65f2dda64 /src/shared/time-util.h
parent1a524ed4adbc0170087b1f2ff0e6182c7c79ad6d (diff)
coredumpctl: fix columns sizing for timestamp
Diffstat (limited to 'src/shared/time-util.h')
-rw-r--r--src/shared/time-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/time-util.h b/src/shared/time-util.h
index f68c095605..34ba6c11be 100644
--- a/src/shared/time-util.h
+++ b/src/shared/time-util.h
@@ -58,6 +58,7 @@ typedef struct dual_timestamp {
#define NSEC_PER_YEAR ((usec_t) (31557600ULL*NSEC_PER_SEC))
#define FORMAT_TIMESTAMP_MAX ((4*4+1)+11+9+4+1) /* weekdays can be unicode */
+#define FORMAT_TIMESTAMP_WIDTH 28 /* when outputting, assume this width */
#define FORMAT_TIMESTAMP_RELATIVE_MAX 256
#define FORMAT_TIMESPAN_MAX 64