diff options
-rw-r--r-- | sbin/devd/devd.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/devd/devd.cc b/sbin/devd/devd.cc index 7724719..fa75c3f 100644 --- a/sbin/devd/devd.cc +++ b/sbin/devd/devd.cc @@ -445,7 +445,7 @@ public: void config::sort_vector(vector<event_proc *> &v) { - sort(v.begin(), v.end(), epv_greater()); + stable_sort(v.begin(), v.end(), epv_greater()); } void |