blob: 0b33a7190c364a2edfa7ccd9f0d8255d3cdf269b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
--- emu.c~ 2007-06-30 02:02:34.000000000 -0500
+++ emu.c 2007-06-30 02:04:48.000000000 -0500
@@ -890,7 +890,7 @@
len = strlen(palfile) + 1;
if (! (buffer = malloc(len)))
{
- perror (__FUNCTION__ ": malloc");
+ perror ("loadpal: malloc");
return;
}
memcpy (buffer, palfile, len);
@@ -912,7 +912,7 @@
len = strlen(filename) + 1;
if (! (buffer = malloc(len)))
{
- perror (__FUNCTION__ ": malloc");
+ perror ("loadpal: malloc");
return;
}
memcpy (buffer, filename, len);
@@ -924,7 +924,7 @@
return;
if (!(palfile = malloc ((len = strlen (filename)) + 11)))
{
- perror (__FUNCTION__ ": malloc");
+ perror ("loadpal: malloc");
return;
}
strcpy (palfile, filename);
@@ -1602,7 +1602,7 @@
if (! (basefilename = malloc(baseend - basestart + 1)))
{
- perror (__FUNCTION__ ": malloc");
+ perror ("main: malloc");
exit (1);
}
|