$NetBSD: patch-am,v 1.1 2006/01/09 17:36:54 wiz Exp $

--- io/fadvise.c.orig	2005-10-07 18:51:34.000000000 +0200
+++ io/fadvise.c
@@ -119,7 +119,7 @@ fadvise_f(
 		return command_usage(&fadvise_cmd);
 	}
 
-	if (posix_fadvise64(file->fd, offset, length, advise) < 0) {
+	if (posix_fadvise(file->fd, offset, length, advise) < 0) {
 		perror("fadvise");
 		return 0;
 	}
