1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

remove typos

This commit is contained in:
Stefan Lankes 2016-03-15 22:03:06 +01:00
parent 19b45a0052
commit e258887700

View file

@ -55,11 +55,15 @@ static char fname[] = "/tmp/hermitXXXXXX";
extern char hermit_app[];
extern unsigned app_size;
extern char **environ;
static void stop_hermit(void);
static void dump_log(void);
static void fini_env(void)
{
dump_log();
stop_hermit();
unlink(fname);
}
@ -190,7 +194,7 @@ static void dump_log(void)
fclose(file);
}
static void stop_kermit(void)
static void stop_hermit(void)
{
FILE* file;
char isle_path[MAX_PATH];
@ -236,8 +240,9 @@ int handle_syscalls(int s)
goto out;
close(s);
dump_log();
stop_kermit();
// already called by fini_env
//dump_log();
//stop_hermit();
exit(arg);
break;