diff options
author | WANG Cong <amwang@redhat.com> | 2011-08-19 14:48:28 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-08-19 14:48:28 +0200 |
commit | 7742ce4ab49976851ce7f0185dcbe491935371a2 (patch) | |
tree | bcfca24f3a625e6a9f142d2fceb8d71e3c34792d /drivers/block | |
parent | nbd: replace printk KERN_ERR with dev_err() (diff) | |
download | linux-7742ce4ab49976851ce7f0185dcbe491935371a2.tar.xz linux-7742ce4ab49976851ce7f0185dcbe491935371a2.zip |
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 <amwang@redhat.com>
Cc: Paul Clements <Paul.Clements@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/nbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 1b8e09fffd5a..2b5fc11be377 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c @@ -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; } |