Author: kib Date: Thu Oct 5 18:58:28 2017 New Revision: 324330 URL: https://svnweb.freebsd.org/changeset/base/324330
Log: Correct format specifiers in the debug code. Style. Requested by: bde Sponsored by: The FreeBSD Foundation MFC after: 1 week Modified: head/sys/i386/i386/sys_machdep.c Modified: head/sys/i386/i386/sys_machdep.c ============================================================================== --- head/sys/i386/i386/sys_machdep.c Thu Oct 5 18:58:24 2017 (r324329) +++ head/sys/i386/i386/sys_machdep.c Thu Oct 5 18:58:28 2017 (r324330) @@ -511,8 +511,8 @@ i386_get_ldt(td, uap) int nldt, num; union descriptor *lp; -#ifdef DEBUG - printf("i386_get_ldt: start=%d num=%d descs=%p\n", +#ifdef DEBUG + printf("i386_get_ldt: start=%u num=%u descs=%p\n", uap->start, uap->num, (void *)uap->descs); #endif @@ -553,8 +553,8 @@ i386_set_ldt(td, uap, descs) struct proc_ldt *pldt; union descriptor *dp; -#ifdef DEBUG - printf("i386_set_ldt: start=%d num=%d descs=%p\n", +#ifdef DEBUG + printf("i386_set_ldt: start=%u num=%u descs=%p\n", uap->start, uap->num, (void *)uap->descs); #endif error = 0; _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"