summaryrefslogtreecommitdiffstats
path: root/src/uca.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-03-24 14:16:00 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-03-24 14:16:00 +0100
commitf7801334cc8e261aec976cc146251ddf6d9592fa (patch)
tree82d38ace90c6138d72b44cdd81300a4da8f296ae /src/uca.h
parent22b2e4f0947bae6cbfc303fe15141b766cc88c04 (diff)
downloaduca-f7801334cc8e261aec976cc146251ddf6d9592fa.tar.gz
uca-f7801334cc8e261aec976cc146251ddf6d9592fa.tar.bz2
uca-f7801334cc8e261aec976cc146251ddf6d9592fa.tar.xz
uca-f7801334cc8e261aec976cc146251ddf6d9592fa.zip
Fix pco resize and let UCA_ERR_MASK_CODE mask code and severity
Diffstat (limited to 'src/uca.h')
-rw-r--r--src/uca.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uca.h b/src/uca.h
index 936863b..ac28183 100644
--- a/src/uca.h
+++ b/src/uca.h
@@ -231,7 +231,7 @@ extern const char *uca_unit_map[]; /**< maps unit numbers to corresponding
#define UCA_NO_ERROR 0x00000000
-#define UCA_ERR_MASK_CODE 0x0000FFFF
+#define UCA_ERR_MASK_CODE 0xF000FFFF
#define UCA_ERR_MASK_SOURCE 0x000F0000
#define UCA_ERR_MASK_TYPE 0x00F00000
#define UCA_ERR_MASK_RESRV 0x0F000000