Commit be711ac7 authored by Juha Niskanen's avatar Juha Niskanen Committed by Pekka Niemimaa
Browse files

ntpclient: Add missing sched_unlock()


Signed-off-by: default avatarJuha Niskanen <juha.niskanen@haltian.com>
parent 237c2756
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
......@@ -101,7 +101,7 @@ struct ntpc_daemon_s
* Private Data
****************************************************************************/
/* This type describes the state of the NTP client daemon. Only once
/* This type describes the state of the NTP client daemon. Only one
* instance of the NTP daemon is permitted in this implementation. This
* limitation is due only to this global data structure.
*/
......@@ -593,6 +593,7 @@ int ntpc_start(void)
g_ntpc_daemon.state = NTP_STOPPED;
ndbg("ERROR: Failed to start the NTP daemon\n", errval);
sched_unlock();
return -errval;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment