1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

Fix regression introduced in r344569

Reported by:	cy
Tested by:	cy
Submitted by:	Fatih Acar <fatih@gandi.net>
This commit is contained in:
Baptiste Daroussin 2019-02-27 07:55:53 +00:00
parent 01869797b7
commit c7851c5b7c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=344618

View File

@ -1260,11 +1260,11 @@ mountpoint_cmp(const void *arga, const void *argb)
if (*a == '\0')
return (-1);
if (*b == '\0')
return (-1);
return (1);
if (*a == '/')
return (-1);
if (*b == '/')
return (-1);
return (1);
return (*a < *b ? -1 : *a > *b);
}