View | Details | Raw Unified | Return to bug 13577
Collapse All | Expand All

(-)contrib/amd/amq/pawd.c (-1 / +2 lines)
Lines 77-83 Link Here
77
find_mt(amq_mount_tree *mt, char *dir)
77
find_mt(amq_mount_tree *mt, char *dir)
78
{
78
{
79
  while (mt) {
79
  while (mt) {
80
    if (STREQ(mt->mt_type, "link") || STREQ(mt->mt_type, "nfs")) {
80
    if (STREQ(mt->mt_type, "link") || STREQ(mt->mt_type, "nfs") ||
81
	STREQ(mt->mt_type, "nfsl")) {
81
      int len = strlen(mt->mt_mountpoint);
82
      int len = strlen(mt->mt_mountpoint);
82
      if (NSTREQ(mt->mt_mountpoint, dir, len) &&
83
      if (NSTREQ(mt->mt_mountpoint, dir, len) &&
83
	  ((dir[len] == '\0') || (dir[len] == '/'))) {
84
	  ((dir[len] == '\0') || (dir[len] == '/'))) {

Return to bug 13577