summaryrefslogtreecommitdiff
path: root/src/libsystemd-terminal
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-10-30 15:35:37 +0100
committerLennart Poettering <lennart@poettering.net>2014-10-30 15:35:37 +0100
commitef309a681f4c761503e4cd4cc6884d7d6ef70436 (patch)
treef8f465ddb86dd8c9c65f11b4596aba875f14acc3 /src/libsystemd-terminal
parent97768fc5746ea97cb2d3ac6854b4fc7ce1c14f24 (diff)
util: unify how we see srand()
Diffstat (limited to 'src/libsystemd-terminal')
-rw-r--r--src/libsystemd-terminal/modeset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-terminal/modeset.c b/src/libsystemd-terminal/modeset.c
index f5be38e4fa..f0508d7a05 100644
--- a/src/libsystemd-terminal/modeset.c
+++ b/src/libsystemd-terminal/modeset.c
@@ -480,7 +480,7 @@ int main(int argc, char *argv[]) {
log_parse_environment();
log_open();
- srand(time(NULL));
+ initialize_srand();
r = parse_argv(argc, argv);
if (r <= 0)