summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgInfo.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgInfo.pm b/usr.sbin/pkg_add/OpenBSD/PkgInfo.pm
index eb36cd9394e..2a0ec32b00f 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgInfo.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgInfo.pm
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgInfo.pm,v 1.12 2010/06/30 10:51:04 espie Exp $
+# $OpenBSD: PkgInfo.pm,v 1.13 2010/07/03 11:36:17 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -255,7 +255,7 @@ sub find_by_spec
} else {
my $r = $state->repo->installed->match_locations($s);
- return sort {$a->name <=> $b->name} @$r;
+ return sort {$a->name cmp $b->name} @$r;
}
}