diff --git a/src/freebsd.c b/src/freebsd.c index 6f3c339a..8d5d265a 100644 --- a/src/freebsd.c +++ b/src/freebsd.c @@ -852,7 +852,7 @@ char int fd; struct apm_info info; - out = (char *)calloc(16, sizeof (char)); + (char *)out = (char *)calloc(16, sizeof (char)); fd = open(APMDEV, O_RDONLY); if (fd < 0) {