aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/recovery.c
diff options
context:
space:
mode:
authorLiu Song <liu.song11@zte.com.cn>2018-08-20 11:54:30 +0800
committerRichard Weinberger <richard@nod.at>2019-07-08 19:43:43 +0200
commit7d8c811bf9ed513a586b18a28b788dd10fbe1128 (patch)
tree17b0f094735825b9bde51232ded62da76728fbb6 /fs/ubifs/recovery.c
parentubifs: Simplify redundant code (diff)
downloadlinux-dev-7d8c811bf9ed513a586b18a28b788dd10fbe1128.tar.xz
linux-dev-7d8c811bf9ed513a586b18a28b788dd10fbe1128.zip
ubifs: Fix typo of output in get_cs_sqnum
"Not a CS node" makes more sense than "Node a CS node". Signed-off-by: Liu Song <liu.song11@zte.com.cn> Reviewed-by: Jiang Biao <jiang.biao2@zte.com.cn> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/recovery.c')
-rw-r--r--fs/ubifs/recovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/recovery.c b/fs/ubifs/recovery.c
index 3fc589881825..f116f7b3f9e5 100644
--- a/fs/ubifs/recovery.c
+++ b/fs/ubifs/recovery.c
@@ -818,7 +818,7 @@ static int get_cs_sqnum(struct ubifs_info *c, int lnum, int offs,
goto out_err;
}
if (cs_node->ch.node_type != UBIFS_CS_NODE) {
- ubifs_err(c, "Node a CS node, type is %d", cs_node->ch.node_type);
+ ubifs_err(c, "Not a CS node, type is %d", cs_node->ch.node_type);
goto out_err;
}
if (le64_to_cpu(cs_node->cmt_no) != c->cmt_no) {