Fix regression introduced in r344569
Reported by: cy Tested by: cy Submitted by: Fatih Acar <fatih@gandi.net>
This commit is contained in:
parent
01869797b7
commit
c7851c5b7c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user