[LTP] [PATCH 1/4] syscalls/getpriority01: Cleanup && Convert to new API

Cyril Hrubis chrubis@suse.cz
Tue Nov 15 15:20:49 CET 2016


Hi!
> -			if (TEST_RETURN < 0 && TEST_ERRNO != 0) {

Since the default value for priorities is 0, I've changed this check to:

	if (TEST_RETURN != 0 || TEST_ERRNO != 0) {
		...
	}

And pushed, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list