9os

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 47366ed71af08ac7f6a96f69762b402501df0d32
parent 2562a5e14a4bc650bc229330b1456bac8beaf60e
Author: Roberto Vargas <roberto.vargas@arm.com>
Date:   Thu,  7 Mar 2019 11:34:33 +0000

[dlang] Remove prefix in cat

It destroyes the content of the file

Change-Id: I9482d7669cccf019b0532c2b8d497c1af817e091

Diffstat:
Msrc/romfw/dlang.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/romfw/dlang.c b/src/romfw/dlang.c @@ -219,7 +219,7 @@ do_cat(const struct cmd *cmd, struct args *args) goto err; while ((n = read(fd, buf, sizeof(buf))) > 0) - kprint(PREFIX "%s", buf); + kprint("%s", buf); if (close(fd) < 0 || n < 0) goto err;