Fix conversion to per-command lock & condition for FreeBSD

Leftover from commit 7f79ca5709
This commit is contained in:
Raivo Hool 2011-02-23 19:09:26 +01:00 committed by Julien BLACHE
parent f1ab254b47
commit 86a90fe81f
1 changed files with 2 additions and 2 deletions

View File

@ -1641,8 +1641,8 @@ device_activate_cb(struct raop_device *dev, struct raop_session *rs, enum raop_s
ts.tv_sec = pb_timer_last.tv_sec;
ts.tv_nsec = pb_timer_last.tv_nsec;
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
if (cmd.ret != -2)
cmd.ret = -1;
if (cur_cmd->ret != -2)
cur_cmd->ret = -1;
goto out;
#endif
}