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 14:56:30 +0000 |
| commit | 0ed015b5b0e1fe85f86ed3f8a145c2d94ef4aa05 (patch) | |
| tree | b44bb03f827668885be243da82d008ddacbdf51b /command.c | |
| parent | 4013fe89dba7bcbd25ffded96d12bba6c9c78476 (diff) | |
Imported 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," "); } |
