mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +00:00
Replace a few Solarisisms with their corresponding FreeBSDisms to make a few
printf tests pass.
This commit is contained in:
parent
28af9281f7
commit
7df83e08ba
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264487
@ -44,7 +44,7 @@ BEGIN
|
||||
|
||||
printf("\n");
|
||||
|
||||
printf("%%a = %a\n", &`kmem_alloc);
|
||||
printf("%%a = %a\n", &`malloc);
|
||||
printf("%%c = %c\n", i);
|
||||
printf("%%d = %d\n", i);
|
||||
printf("%%hd = %hd\n", (short)i);
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
%a = genunix`kmem_alloc
|
||||
%a = kernel`malloc
|
||||
%c = a
|
||||
%d = 97
|
||||
%hd = 97
|
||||
|
@ -36,6 +36,6 @@
|
||||
|
||||
BEGIN
|
||||
{
|
||||
printf("sysname = %s", `utsname.sysname);
|
||||
printf("sysname = %s", `ostype);
|
||||
exit(0);
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
sysname = SunOS
|
||||
sysname = FreeBSD
|
||||
|
@ -38,6 +38,6 @@
|
||||
|
||||
BEGIN
|
||||
{
|
||||
printf("symbol = %a", &`kmem_alloc);
|
||||
printf("symbol = %a", &`malloc);
|
||||
exit(0);
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
symbol = kernel`kmem_alloc
|
||||
symbol = kernel`malloc
|
||||
|
Loading…
Reference in New Issue
Block a user