Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sbin/fsck_lfs/pass2.c,v rcsdiff: /ftp/cvs/cvsroot/src/sbin/fsck_lfs/pass2.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.13 retrieving revision 1.14 diff -u -p -r1.13 -r1.14 --- src/sbin/fsck_lfs/pass2.c 2005/04/11 23:19:24 1.13 +++ src/sbin/fsck_lfs/pass2.c 2005/06/27 02:48:28 1.14 @@ -1,4 +1,4 @@ -/* $NetBSD: pass2.c,v 1.13 2005/04/11 23:19:24 perseant Exp $ */ +/* $NetBSD: pass2.c,v 1.14 2005/06/27 02:48:28 christos Exp $ */ /* * Copyright (c) 1980, 1986, 1993 @@ -205,7 +205,7 @@ pass2check(struct inodesc * idesc) struct inoinfo *inp; int n, entrysize, ret = 0; struct ufs1_dinode *dp; - char *errmsg; + const char *errmsg; struct direct proto; char namebuf[MAXPATHLEN + 1]; char pathbuf[MAXPATHLEN + 1]; @@ -436,6 +436,6 @@ again: static int blksort(const void *inpp1, const void *inpp2) { - return ((*(struct inoinfo **) inpp1)->i_blks[0] - - (*(struct inoinfo **) inpp2)->i_blks[0]); + return ((*(const struct inoinfo *const *) inpp1)->i_blks[0] - + (*(const struct inoinfo *const *) inpp2)->i_blks[0]); }