Fix compilation error in some strange circumstances, I think change is harmless.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@889 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Stanislaw Gruszka
2009-06-02 16:24:38 +00:00
parent 29a7e1b926
commit 3fe62e70a8

View File

@@ -894,7 +894,7 @@ scsi_target_handler(qact_e action, void *arg)
{
enadis_t *ep = arg;
if (ep->en_private) {
up(ep->en_private);
up((struct semaphore *)ep->en_private);
}
break;
}
@@ -902,7 +902,7 @@ scsi_target_handler(qact_e action, void *arg)
{
enadis_t *ep = arg;
if (ep->en_private) {
up(ep->en_private);
up((struct semaphore *)ep->en_private);
}
break;
}