Replace a few Solarisisms with their corresponding FreeBSDisms to make a few
printf tests pass.
This commit is contained in:
parent
c45d8f95f1
commit
2004e1b1f2
@ -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