mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user