walters / rpms / plymouth

Forked from rpms/plymouth 6 years ago
Clone
Blob Blame History Raw
From 784fbcfb096d756a63cd42a1efad1413c1ed8903 Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode@redhat.com>
Date: Thu, 16 Sep 2010 21:31:24 -0400
Subject: [PATCH] main: add __DATE__ to debug prolog

When looking at debug logs, it's often useful to know
how old the build of plymouth featured in the log is.
---
 src/main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main.c b/src/main.c
index 8152fc7..4b069c7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1879,6 +1879,8 @@ initialize_environment (state_t *state)
   check_verbosity (state);
   check_logging (state);
 
+  ply_trace ("source built on %s", __DATE__);
+
   state->keystroke_triggers = ply_list_new ();
   state->entry_triggers = ply_list_new ();
   state->entry_buffer = ply_buffer_new();
-- 
1.7.3.1