Просмотр исходного кода

* Found and fixed a define ifdef error

svn: 190
Bryan Drewery 22 лет назад
Родитель
Сommit
dce2c4a023
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      build
  2. 1 1
      src/misc.c

+ 1 - 1
build

@@ -152,7 +152,7 @@ elif [ $hub = "1" ]; then
  fls="hub"
  fls="hub"
 fi
 fi
 
 
-if [ $d = "d" ]; then
+if test -n "$d"; then
  d="-debug"
  d="-debug"
 fi
 fi
 
 

+ 1 - 1
src/misc.c

@@ -1548,7 +1548,7 @@ void check_trace(int n)
   } else
   } else
     waitpid(x, NULL, 0);
     waitpid(x, NULL, 0);
 #endif /* __FreeBSD__ */
 #endif /* __FreeBSD__ */
-#ifdef __OpenBD__
+#ifdef __OpenBSD__
   x = fork();
   x = fork();
   if (x == -1)
   if (x == -1)
     return;
     return;