Formatted code to align tabs

This commit is contained in:
Zachary Moore 2017-02-16 18:18:00 -05:00 committed by GitHub
parent 434a8856c6
commit 2be98d540e

View File

@ -243,6 +243,7 @@ void
locktestthread2(void *junk, unsigned long num)
{
(void)junk;
//first thread acquire lock
if(num == 0){
lock_acquire(testlock);
@ -402,7 +403,7 @@ locktest4(int nargs, char **args) {
}
//no lock destroy in case a panic is triggered
//no lock destroy in case a panic is triggered, memory leak necessary
sem_destroy(donesem);
testlock = NULL;
donesem = NULL;
@ -410,6 +411,7 @@ locktest4(int nargs, char **args) {
secprintf(SECRET, "Should panic...", "lt4");
/* Should not get here on success. */
kprintf_t("\n");
success(TEST161_FAIL, SECRET, "lt4");