summaryrefslogtreecommitdiff
path: root/sysutils/fatback/patches/patch-ac
blob: c199dab26fa300506249c41a4a7ee999a6318340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-ac,v 1.1 2006/10/09 13:23:37 joerg Exp $

--- vbr.c.orig	2006-10-09 15:14:51.000000000 +0000
+++ vbr.c
@@ -17,7 +17,7 @@
 #include "vars.h"
 
 static vbr_t read_vbr(off_t);
-static int scheck_vbr(vbr_t, sig_t);
+static int scheck_vbr(vbr_t, signature_t);
 
 enum { OEM_NAME_LEN = 8,
        LABEL_LEN    = 11,
@@ -49,7 +49,7 @@ static vbr_t read_vbr(off_t offset)
 {
      vbr_t vbr = emalloc(sizeof *vbr);
      u_int8_t *buffer;
-     sig_t signature;
+     signature_t signature;
      int fat32_flag = 0;
      fbvar_t *sectsize_var;
      unsigned sectsize;
@@ -164,7 +164,7 @@ static vbr_t read_vbr(off_t offset)
 /* 
  * Sanity check the Volume Boot Record
  */
-static int scheck_vbr(vbr_t vbr, sig_t signature)
+static int scheck_vbr(vbr_t vbr, signature_t signature)
 {
      unsigned i, invalid = 0;