88b61a744d
Some interesting features in the server part over 2.4.2p2 (handling of barcode readers, dumper priorities, ...)
13 lines
408 B
Text
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));
|
|
}
|
|
|