diff options
| author | Dave Hibberd <dave.hibberd@gmail.com> | 2015-11-22 14:56:30 +0000 |
|---|---|---|
| committer | Dave Hibberd <dave.hibberd@gmail.com> | 2015-11-22 15:02:26 +0000 |
| commit | 944a20363f6ccbae77269f73e554f077d24f2e52 (patch) | |
| tree | 4be0dfad3c541cbfdaf8c9713dd5958f7cbe8e37 /command.c | |
| parent | 34f191e88541b3f164d046d01680347729be5507 (diff) | |
| parent | 0ed015b5b0e1fe85f86ed3f8a145c2d94ef4aa05 (diff) | |
Merge tag 'upstream/2.4'
Upstream version 2.4
Diffstat (limited to 'command.c')
| -rw-r--r-- | command.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -96,7 +96,7 @@ void node_prompt(const char *fmt, ...) if ((User.ul_type == AF_ROSE) && (check_perms(PERM_ANSI, 0L) != -1)) { axio_printf(NodeIo,"\r\e[01;35m-=>\e[0m \b"); } - axio_flush(NodeIo); +/* axio_flush(NodeIo); */ } void node_logout(char *reason) @@ -795,7 +795,7 @@ int do_status(int argc, char **argv) axio_printf(NodeIo,"------------------ ---------- ---------- ---------- ----------\n"); axio_printf(NodeIo,"Physical: %-7d kB %-7d kB %-7d kB %3d %%\n", ma, mu, mf, (mu*100)/ma); - if (!(mem = meminfo()) || mem[meminfo_stotal][meminfo_total] != 0) + if (!(mem = meminfo()) || mem[meminfo_stotal][meminfo_total] != 0) { sa = mem[meminfo_stotal][meminfo_total]; su = (mem[meminfo_stotal][meminfo_total] - mem[meminfo_sfree][meminfo_total]); @@ -803,7 +803,7 @@ int do_status(int argc, char **argv) axio_printf(NodeIo,"Swap: %-7d kB %-7d kB %-7d kB %3d %%\n",sa,su,sf,(su*100)/sa); } else -/* axio_printf(NodeIo,"Cannot get swap information!\n"); */ + axio_printf(NodeIo,"Cannot get swap information!\n"); axio_printf(NodeIo," "); } |
