summaryrefslogtreecommitdiff
path: root/src/analyze/systemd-analyze.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/analyze/systemd-analyze.c')
-rw-r--r--src/analyze/systemd-analyze.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze/systemd-analyze.c b/src/analyze/systemd-analyze.c
index 27d063c548..a4f15eb646 100644
--- a/src/analyze/systemd-analyze.c
+++ b/src/analyze/systemd-analyze.c
@@ -768,7 +768,7 @@ static int list_dependencies_one(DBusConnection *bus, const char *name, unsigned
if (r < 0)
return r;
- qsort(deps, strv_length(deps), sizeof (char*), list_dependencies_compare);
+ qsort_safe(deps, strv_length(deps), sizeof (char*), list_dependencies_compare);
r = acquire_boot_times(bus, &boot);
if (r < 0)