pkgsrc/sysutils/amanda-dev-server/patches/patch-bc
bouyer 88b61a744d Packages for amanda 2.4.3b3, a developement snapshot of the 2.4.3 branch.
Some interesting features in the server part over 2.4.2p2 (handling of
barcode readers, dumper priorities, ...)
2002-05-02 13:28:15 +00:00

13 lines
408 B
Text

$NetBSD: patch-bc,v 1.1.1.1 2002/05/02 13:28:16 bouyer Exp $
--- server-src/taper.c.orig Tue Apr 30 13:44:04 2002
+++ server-src/taper.c Tue Apr 30 13:44:49 2002
@@ -1484,7 +1484,7 @@
void detach_buffers(bufp)
char *bufp;
{
- if(munmap((void *)bufp, saved_size)*conf_tapebufs) == -1) {
+ if(munmap((void *)bufp, saved_size) == -1) {
error("detach_buffers: munmap: %s", strerror(errno));
}