diff --git a/target/linux/generic/patches-4.0/494-mtd-ubi-add-EOF-marker-support.patch b/target/linux/generic/patches-4.0/494-mtd-ubi-add-EOF-marker-support.patch
index 3d2724324b29bb31a68325de278101b4685a75a9..3763c2f33b80f32190f027dff6749949cfe8e122 100644
--- a/target/linux/generic/patches-4.0/494-mtd-ubi-add-EOF-marker-support.patch
+++ b/target/linux/generic/patches-4.0/494-mtd-ubi-add-EOF-marker-support.patch
@@ -27,7 +27,7 @@
 +			return err;
 +
 +		if (ec_hdr_has_eof(ech)) {
-+			ubi_msg("EOF marker found, PEBs from %d will be erased",
++			pr_notice("UBI: EOF marker found, PEBs from %d will be erased",
 +				pnum);
 +			ai->eof_found = true;
 +		}