Index: uspace/srv/loader/main.c
===================================================================
--- uspace/srv/loader/main.c	(revision 9701d49a574c992db9dff0fef7dde0e5c856089f)
+++ uspace/srv/loader/main.c	(revision a31efeb643914cadd04b764124af1a7ab5087f6c)
@@ -232,5 +232,5 @@
 	
 	rc = elf_load_file(pathname, 0, &prog_info);
-	if (rc < 0) {
+	if (rc != EE_OK) {
 		DPRINTF("Failed to load executable '%s'.\n", pathname);
 		ipc_answer_0(rid, EINVAL);
@@ -251,5 +251,5 @@
 	
 	rc = elf_load_file(prog_info.interp, 0, &interp_info);
-	if (rc < 0) {
+	if (rc != EE_OK) {
 		DPRINTF("Failed to load interpreter '%s.'\n",
 		    prog_info.interp);
