Skip to content

Commit

Permalink
version error message
Browse files Browse the repository at this point in the history
  • Loading branch information
pebbe committed Feb 11, 2021
1 parent 2439a6a commit 109fccd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion draft/zmq4.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func init() {
if major != int(C.zmq4_major) || minor != int(C.zmq4_minor) || patch != int(C.zmq4_patch) {
initVersionError =
fmt.Errorf(
"zmq4 was installed with ZeroMQ version %d.%d.%d, but the application links with version %d.%d.%d",
"zmq4 was compiled with ZeroMQ version %d.%d.%d, but the runtime links with version %d.%d.%d",
int(C.zmq4_major), int(C.zmq4_minor), int(C.zmq4_patch),
major, minor, patch)
return
Expand Down
2 changes: 1 addition & 1 deletion zmq4.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func init() {
if major != int(C.zmq4_major) || minor != int(C.zmq4_minor) || patch != int(C.zmq4_patch) {
initVersionError =
fmt.Errorf(
"zmq4 was installed with ZeroMQ version %d.%d.%d, but the application links with version %d.%d.%d",
"zmq4 was compiled with ZeroMQ version %d.%d.%d, but the runtime links with version %d.%d.%d",
int(C.zmq4_major), int(C.zmq4_minor), int(C.zmq4_patch),
major, minor, patch)
return
Expand Down

0 comments on commit 109fccd

Please sign in to comment.