ntk-console: Additional cleanup, no functional change

This commit is contained in:
Alexander von Gluck IV 2014-09-14 12:51:50 -05:00
parent e23eaafd7b
commit 84e377eff5
2 changed files with 4 additions and 2 deletions

View File

@ -207,7 +207,7 @@ wait_session(int server_fd)
void*
console_recv_send(void *arg)
{
char* uargv;
char* uargv = NULL;
opensocket();
wait_session(serverfd);

View File

@ -21,6 +21,7 @@
#include "console.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/un.h>
@ -196,7 +197,8 @@ console_uptime(void)
uptime_month1 -= uptime_month;
uptime_year1 -= uptime_year;
printf("Total Uptime is: %i Year(s), %i Month(s), %i Day(s), %i Hour(s), %i Minute(s), %i Second(s)\n",uptime_year1, uptime_month1, uptime_day1, uptime_hour1, uptime_min1, uptime_sec1);
printf("Total Uptime is: %i Year(s), %i Month(s), %i Day(s), %i Hour(s), %i Minute(s), %i Second(s)\n",
uptime_year1, uptime_month1, uptime_day1, uptime_hour1, uptime_min1, uptime_sec1);
}