summaryrefslogtreecommitdiff
path: root/src/app/set_reg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/set_reg.c')
-rw-r--r--src/app/set_reg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/set_reg.c b/src/app/set_reg.c
index c3a44b5..8c5060f 100644
--- a/src/app/set_reg.c
+++ b/src/app/set_reg.c
@@ -63,6 +63,7 @@ int umr_set_register(struct umr_asic *asic, char *regpath, char *regvalue)
if (asic->blocks[i]->grant) {
if (asic->blocks[i]->grant(asic)) {
+ fprintf(stderr, "[ERROR] Must specify at least one 'risky' before writing to this block.\n");
return -1;
}
}