Commit 60f71566 authored by Jan Kara's avatar Jan Kara Committed by Linus Torvalds

[PATCH] Quota warnings somewhat broken

Fix end of lines in quota messages.
Signed-off-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 22827904
......@@ -811,22 +811,22 @@ static void print_warning(struct dquot *dquot, const char warntype)
tty_write_message(current->signal->tty, quotatypes[dquot->dq_type]);
switch (warntype) {
case IHARDWARN:
msg = " file limit reached.\n";
msg = " file limit reached.\r\n";
break;
case ISOFTLONGWARN:
msg = " file quota exceeded too long.\n";
msg = " file quota exceeded too long.\r\n";
break;
case ISOFTWARN:
msg = " file quota exceeded.\n";
msg = " file quota exceeded.\r\n";
break;
case BHARDWARN:
msg = " block limit reached.\n";
msg = " block limit reached.\r\n";
break;
case BSOFTLONGWARN:
msg = " block quota exceeded too long.\n";
msg = " block quota exceeded too long.\r\n";
break;
case BSOFTWARN:
msg = " block quota exceeded.\n";
msg = " block quota exceeded.\r\n";
break;
}
tty_write_message(current->signal->tty, msg);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment