KraKern

C++ Kernel
Log | Files | Refs | README | LICENSE | git clone https://git.ne02ptzero.me/git/KraKern

commit b179760c6570a65c8be714da2d0c3636ee97c7d7
parent 3faa4092a27108f5020038c863fae8535417543d
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Wed,  8 Jun 2016 18:19:50 +0200

Fix(Console): Fix env command, for a unix behavior

Diffstat:
Mmodules/x86/ModuleConsole.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/x86/ModuleConsole.cpp b/modules/x86/ModuleConsole.cpp @@ -39,7 +39,7 @@ void ModuleConsole::command(char *str) { __kern.io.obyte(0x64, 0xFE); } else if (!strcmp(str, "env")) { for (struct data_map *tmp = __kern.env.vars.get_data(); tmp; tmp = tmp->next) { - __kern.io.printk("%s = %s\n", tmp->key, tmp->data); + __kern.io.printk("%s=%s\n", tmp->key, tmp->data); } } else { __kern.io.printk("%s: Command not found\n", str);