Module Name: src
Committed By: christos
Date: Wed Feb 5 19:07:16 UTC 2014
Modified Files:
src/sys/arch/emips/stand/common: ace.c
Log Message:
make this compile.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/emips/stand/common/ace.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/emips/stand/common/ace.c
diff -u src/sys/arch/emips/stand/common/ace.c:1.2 src/sys/arch/emips/stand/common/ace.c:1.3
--- src/sys/arch/emips/stand/common/ace.c:1.2 Sun Jul 17 16:54:39 2011
+++ src/sys/arch/emips/stand/common/ace.c Wed Feb 5 14:07:16 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: ace.c,v 1.2 2011/07/17 20:54:39 joerg Exp $ */
+/* $NetBSD: ace.c,v 1.3 2014/02/05 19:07:16 christos Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -65,6 +65,7 @@
#include "common.h"
#include "ace.h"
+#include "start.h"
#define NSAC 2
#define SAC0 ((struct _Sac *)IDE_DEFAULT_ADDRESS)
@@ -618,7 +619,7 @@ aceopen(struct open_file *f, ...)
int i;
char *msg;
char buf[DEV_BSIZE];
- int cnt;
+ size_t cnt;
va_list ap;
va_start(ap, f);