Really fix build on i386.
XXXL size pointy hat to: novel
This commit is contained in:
parent
edcf248194
commit
3c94765bd4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198137
2 changed files with 12 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
|||
--- src/freebsd.c.orig 2007-08-05 08:48:13.000000000 +0400
|
||||
+++ src/freebsd.c 2007-08-21 22:22:37.000000000 +0400
|
||||
--- src/freebsd.c.orig Sun Aug 5 08:48:13 2007
|
||||
+++ src/freebsd.c Wed Aug 22 10:22:24 2007
|
||||
@@ -43,6 +43,14 @@
|
||||
#define FREEBSD_DEBUG
|
||||
#endif
|
||||
|
@ -15,12 +15,11 @@
|
|||
inline void proc_find_top(struct process **cpu, struct process **mem);
|
||||
|
||||
u_int64_t diskio_prev = 0;
|
||||
@@ -832,7 +840,7 @@
|
||||
@@ -831,6 +839,7 @@
|
||||
{
|
||||
int fd;
|
||||
struct apm_info info;
|
||||
+ char *out;
|
||||
|
||||
- out = (char *)calloc(16, sizeof (char));
|
||||
+ (char *)out = (char *)calloc(16, sizeof (char));
|
||||
out = (char *)calloc(16, sizeof (char));
|
||||
|
||||
fd = open(APMDEV, O_RDONLY);
|
||||
if (fd < 0) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- src/freebsd.c.orig 2007-08-05 08:48:13.000000000 +0400
|
||||
+++ src/freebsd.c 2007-08-21 22:22:37.000000000 +0400
|
||||
--- src/freebsd.c.orig Sun Aug 5 08:48:13 2007
|
||||
+++ src/freebsd.c Wed Aug 22 10:22:24 2007
|
||||
@@ -43,6 +43,14 @@
|
||||
#define FREEBSD_DEBUG
|
||||
#endif
|
||||
|
@ -15,12 +15,11 @@
|
|||
inline void proc_find_top(struct process **cpu, struct process **mem);
|
||||
|
||||
u_int64_t diskio_prev = 0;
|
||||
@@ -832,7 +840,7 @@
|
||||
@@ -831,6 +839,7 @@
|
||||
{
|
||||
int fd;
|
||||
struct apm_info info;
|
||||
+ char *out;
|
||||
|
||||
- out = (char *)calloc(16, sizeof (char));
|
||||
+ (char *)out = (char *)calloc(16, sizeof (char));
|
||||
out = (char *)calloc(16, sizeof (char));
|
||||
|
||||
fd = open(APMDEV, O_RDONLY);
|
||||
if (fd < 0) {
|
||||
|
|
Loading…
Reference in a new issue