Index: uspace/lib/posix/signal.c
===================================================================
--- uspace/lib/posix/signal.c	(revision 7ae249de88591449bd9047a240ccd541ded43f94)
+++ uspace/lib/posix/signal.c	(revision ffff74620bfc3a0efc3483d79b1ee8255d8f2672)
@@ -252,5 +252,5 @@
 		    " or fully unsupported signal. This handler may only be"
 		    " invoked by the raise() function, which may not be what"
-		    " the application developer intended.\nSignal name");
+		    " the application developer intended");
 	}
 
@@ -360,11 +360,11 @@
 	}
 
+	if (signo > _TOP_SIGNAL) {
+		errno = EINVAL;
+		return -1;
+	}
+
 	if (pid == (posix_pid_t) task_get_id()) {
 		return posix_raise(signo);
-	}
-
-	if (pid > _TOP_SIGNAL) {
-		errno = EINVAL;
-		return -1;
 	}
 
