forgot a part for INIT_ and CLONE_ACCELERANT order of exec. check.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16024 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2006-01-21 16:57:33 +00:00
parent ecfb22d474
commit 7d59f2ebb1
1 changed files with 2 additions and 0 deletions

View File

@ -214,6 +214,8 @@ status_t INIT_ACCELERANT(int the_fd)
/* a winner! */
result = B_OK;
/* ensure that INIT_ACCELERANT won't be executed again (copies should be clones) */
si->accelerant_in_use = true;
goto error0;
error1: