summaryrefslogtreecommitdiff
path: root/liboffloadmic/runtime/coi/coi_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'liboffloadmic/runtime/coi/coi_client.cpp')
-rw-r--r--liboffloadmic/runtime/coi/coi_client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/liboffloadmic/runtime/coi/coi_client.cpp b/liboffloadmic/runtime/coi/coi_client.cpp
index ca18e5f9525..179a3029e9c 100644
--- a/liboffloadmic/runtime/coi/coi_client.cpp
+++ b/liboffloadmic/runtime/coi/coi_client.cpp
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2014-2015 Intel Corporation. All Rights Reserved.
+ Copyright (c) 2014-2016 Intel Corporation. All Rights Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
@@ -456,7 +456,7 @@ bool init(void)
EngineGetInfo =
(COIRESULT (*)(COIENGINE, uint32_t, COI_ENGINE_INFO*))
DL_sym(lib_handle, "COIEngineGetInfo", COI_VERSION1);
- if (COIEngineGetInfo == 0) {
+ if (EngineGetInfo == 0) {
OFFLOAD_DEBUG_TRACE(2, "Failed to find %s in COI library\n",
"COIEngineGetInfo");
fini();