Use MX_OK instead of NO_ERROR
Change-Id: I08ff890255d00f0345dbe51038a0cbe8914b9f43
diff --git a/run-command.c b/run-command.c
index a37450c..6831b20 100644
--- a/run-command.c
+++ b/run-command.c
@@ -38,7 +38,7 @@
MX_PROCESS_TERMINATED,
MX_TIME_INFINITE,
NULL);
- if (st != NO_ERROR) {
+ if (st != MX_OK) {
fprintf(stderr, "Could not wait on proc: %d\n", st);
return -1;
}
@@ -46,7 +46,7 @@
st = mx_object_get_info(proc, MX_INFO_PROCESS,
&proc_info, sizeof(proc_info),
NULL, NULL);
- if (st != NO_ERROR) {
+ if (st != MX_OK) {
fprintf(stderr, "Could not get info for proc: %d\n", st);
return -1;
}