diff options
author | Rikus Wessels <rikus@umantec.net> | 2016-05-26 17:51:19 +0200 |
---|---|---|
committer | Rikus Wessels <rikus@umantec.net> | 2016-05-26 17:51:19 +0200 |
commit | 183fcc972d70a1eb4438cd182629425ad449b459 (patch) | |
tree | a05391dffc950a9ab8dc6e223a5b76a573a60d4e /examples/simple_talker | |
parent | 3411e459f3236786cfc9cb07e59327c3de7dfab3 (diff) | |
download | Open-AVB-183fcc972d70a1eb4438cd182629425ad449b459.tar.gz |
Update simple_talker.c
Diffstat (limited to 'examples/simple_talker')
-rw-r--r-- | examples/simple_talker/simple_talker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/simple_talker/simple_talker.c b/examples/simple_talker/simple_talker.c index 1c612fd0..deb6886c 100644 --- a/examples/simple_talker/simple_talker.c +++ b/examples/simple_talker/simple_talker.c @@ -385,12 +385,12 @@ int pci_connect(device_t *igb_dev) printf("attaching to %s\n", devpath); err = igb_attach(devpath, igb_dev); if (err) { - printf("attach failed! (%s)\n", strerror(errno)); + printf("attach failed! (%s)\n", strerror(err)); continue; } err = igb_attach_tx(igb_dev); if (err) { - printf("attach_tx failed! (%s)\n", strerror(errno)); + printf("attach_tx failed! (%s)\n", strerror(err)); igb_detach(igb_dev); continue; } |