summaryrefslogtreecommitdiff
path: root/usrp/host/lib
diff options
context:
space:
mode:
authorThomas Tsou2009-09-23 17:50:48 -0400
committerThomas Tsou2009-09-23 18:05:16 -0400
commit962a57badaa349da12ca552f4752329aabd4ac6f (patch)
treed8fe38cab6b271214af959da2240ab6d4cb5e7bc /usrp/host/lib
parent8d3550d330eeac88f4991db866288468be084ddf (diff)
downloadgnuradio-962a57badaa349da12ca552f4752329aabd4ac6f.tar.gz
gnuradio-962a57badaa349da12ca552f4752329aabd4ac6f.tar.bz2
gnuradio-962a57badaa349da12ca552f4752329aabd4ac6f.zip
Change write_internal_ram in usrp_prims to print signed error code
Diffstat (limited to 'usrp/host/lib')
-rw-r--r--usrp/host/lib/usrp_prims_common.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usrp/host/lib/usrp_prims_common.cc b/usrp/host/lib/usrp_prims_common.cc
index c55098dc3..3bdf3a57c 100644
--- a/usrp/host/lib/usrp_prims_common.cc
+++ b/usrp/host/lib/usrp_prims_common.cc
@@ -221,7 +221,7 @@ write_internal_ram (libusb_device_handle *udh, unsigned char *buf,
(unsigned char*)(buf + (addr - start_addr)), n, 1000);
if (a < 0){
- fprintf(stderr,"write_internal_ram failed: %u\n", a);
+ fprintf(stderr,"write_internal_ram failed: %i\n", a);
return false;
}
}