Skip to content

Commit

Permalink
Fix bogus set locking functions.
Browse files Browse the repository at this point in the history
It is used for SYSTEM V locking only, looks like a copy'n'paste error.
  • Loading branch information
bogdan-iancu committed May 25, 2016
1 parent 5e40aaf commit 4bcdf4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/cfgutils/shvar.c
Expand Up @@ -112,7 +112,7 @@ void lock_shvar(sh_var_t *shv)
#ifdef GEN_LOCK_T_PREFERED
lock_get(shv->lock);
#else
ul_lock_idx(shv->lockidx);
shvar_lock_idx(shv->lockidx);
#endif
}

Expand All @@ -127,7 +127,7 @@ void unlock_shvar(sh_var_t *shv)
#ifdef GEN_LOCK_T_PREFERED
lock_release(shv->lock);
#else
ul_release_idx(shv->lockidx);
shvar_release_idx(shv->lockidx);
#endif
}

Expand Down

0 comments on commit 4bcdf4e

Please sign in to comment.