nbd: lower the loglevel of an error message

This is only an error, no need to use KERN_CRIT log level.

Signed-off-by: WANG Cong <[email protected]>
Cc: Paul Clements <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
WANG Cong 2011-08-19 14:48:28 +02:00 • committed by Jens Axboe
commit 7742ce4ab4

View file

@ -745,7 +745,7 @@ static int __init nbd_init(void)
BUILD_BUG_ON(sizeof(struct nbd_request) != 28);
if (max_part < 0) {
printk(KERN_CRIT "nbd: max_part must be >= 0\n");
printk(KERN_ERR "nbd: max_part must be >= 0\n");
return -EINVAL;
}