Linux device build fix

This commit is contained in:
Lorenz Meier 2015-09-16 17:37:05 +02:00
parent 686caf4ca4
commit 27055184de
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ Device::~Device()
#ifdef __PX4_DARWIN
sem_unlink(_name);
#else
sem_destroy(&_lock);
sem_destroy(_lock);
#endif
}