Description: fix to build on non-Linux arches
Fix the build where it seems a code fix for Linux was likely untested on other systems. Define SCHED_BATCH in test-schedbatch, for systems that don't have it; the corresponding RH BZ#741090 patch used the magic value 3 in output.c anyway. Bug-Debian: http://bugs.debian.org/677055
This commit is contained in:
committed by
Craig Small
parent
2fb099df50
commit
a5ba6b98c1
@ -75,6 +75,7 @@ void init_Linux_version(void) {
|
||||
"release %s=%d.%d.%d gives version code %d\n",
|
||||
uts.release, x, y, z, LINUX_VERSION(x,y,z));
|
||||
#else
|
||||
fprintf(stderr, /* *very* unlikely to happen by accident */
|
||||
"%s=%d.%d.%d gives version code %d\n",
|
||||
buf, x, y, z, LINUX_VERSION(x,y,z));
|
||||
#endif /* __linux__ */
|
||||
|
Reference in New Issue
Block a user