aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/nbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
index 1b8e09fffd5..2b5fc11be37 100644
--- a/drivers/block/nbd.c
+++ b/drivers/block/nbd.c
@@ -745,7 +745,7 @@ static int __init nbd_init(void)
745 BUILD_BUG_ON(sizeof(struct nbd_request) != 28); 745 BUILD_BUG_ON(sizeof(struct nbd_request) != 28);
746 746
747 if (max_part < 0) { 747 if (max_part < 0) {
748 printk(KERN_CRIT "nbd: max_part must be >= 0\n"); 748 printk(KERN_ERR "nbd: max_part must be >= 0\n");
749 return -EINVAL; 749 return -EINVAL;
750 } 750 }
751 751