mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Have a go at unbreaking the tinderbox by fixing a debug printf.
The other option would be to remove it, but I can imagine it may be useful for the forseeable future as we fiddle with segments in KSE and thr libraries,
This commit is contained in:
parent
cb065e0460
commit
1716a1af0d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118253
@ -423,14 +423,14 @@ i386_set_ldt(td, args)
|
||||
union descriptor *descs, *dp;
|
||||
int descs_size;
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("i386_set_ldt: start=%d num=%d descs=%p\n",
|
||||
start, num, (void *)descs);
|
||||
#endif
|
||||
|
||||
if ((error = copyin(args, uap, sizeof(struct i386_ldt_args))) < 0)
|
||||
return(error);
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("i386_set_ldt: start=%d num=%d descs=%p\n",
|
||||
uap->start, uap->num, (void *)uap->descs);
|
||||
#endif
|
||||
|
||||
if (uap->descs == NULL) {
|
||||
/* Free descriptors */
|
||||
if (uap->start == 0 && uap->num == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user