Skip to content
Snippets Groups Projects
Commit 555344e7 authored by Torsten Merz's avatar Torsten Merz
Browse files

changed locking constant name

parent 8545a5b5
No related branches found
No related tags found
No related merge requests found
......@@ -379,7 +379,7 @@ int nrtSmi(char *esmFile, char *tssFile, char *tdeFile, char *cfgFile) {
/* check lock constant */
int lock;
__sync_fetch_and_nand(&lock,0);
if (lock!=NAND_LOCK) {
if (lock!=ATOMIC_UNLOCKED) {
error=4;
printf("[nrtSmi] NAND_LOCK mismatch\n");
goto exit;
......
#ifndef SMIDEF_H
#define SMIDEF_H
#define NAND_LOCK -1
#define ATOMIC_UNLOCKED -1
#define NIL 0
#define AVAILABLE 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment