Mercurial > hg > Members > anatofuz > CbC_xv6
diff src/proc.c @ 22:397e74cbf14e
fix warnings
author | mir3636 |
---|---|
date | Sat, 07 Apr 2018 19:05:00 +0900 |
parents | bf2f70fa8852 |
children | 36bd61f5c847 |
line wrap: on
line diff
--- a/src/proc.c Sat Apr 07 18:44:18 2018 +0900 +++ b/src/proc.c Sat Apr 07 19:05:00 2018 +0900 @@ -502,12 +502,12 @@ void procdump(void) { static char *states[] = { - [UNUSED] "unused", - [EMBRYO] "embryo", - [SLEEPING] "sleep ", - [RUNNABLE] "runble", - [RUNNING] "run ", - [ZOMBIE] "zombie" + [UNUSED] ="unused", + [EMBRYO] ="embryo", + [SLEEPING] ="sleep ", + [RUNNABLE] ="runble", + [RUNNING] ="run ", + [ZOMBIE] ="zombie" }; struct proc *p;