db/test: devExtend() only during pass 0
This commit is contained in:
1 parent
85e21863dc
commit
368223f783
1 file changed
+3
-2
@@ -12,9 +12,10 @@ long link_test_extend(struct dbCommon *junk)
|
||||
static dsxt xrecextend = {&link_test_extend, &link_test_extend};
|
||||
|
||||
static
|
||||
long link_test_init(int junk)
|
||||
long link_test_init(int pass)
|
||||
{
|
||||
devExtend(&xrecextend);
|
||||
if (pass == 0)
|
||||
devExtend(&xrecextend);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user