[PATCH 1/4] commands: mount: replace printf by pr_info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This allows us to control the output behaviour e.g. booting silently
to improve boot time.

Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx>
---
 commands/mount.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/mount.c b/commands/mount.c
index ff1d8bc5e5..bb2d1d60f4 100644
--- a/commands/mount.c
+++ b/commands/mount.c
@@ -74,7 +74,7 @@ static int do_mount(int argc, char *argv[])
 		if (IS_ERR(path))
 			return PTR_ERR(path);
 
-		printf("mounted /dev/%s on %s\n", devstr, path);
+		pr_info("mounted /dev/%s on %s\n", devstr, path);
 
 		return 0;
 	}
-- 
2.29.2


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux