X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=restore%2Fdirs.c;h=dc45e7c7545b4b140c415f5f3f6f743e6e2bf149;hb=67793be06d93a6c433acaf6a3c7063d203acf583;hp=228877733a4388fd90cb82c91315142ffd91790b;hpb=a18d599791e977f3e3d26123031e6ed4e64d6d08;p=dump.git diff --git a/restore/dirs.c b/restore/dirs.c index 2288777..dc45e7c 100644 --- a/restore/dirs.c +++ b/restore/dirs.c @@ -23,11 +23,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -46,7 +42,7 @@ #ifndef lint static const char rcsid[] = - "$Id: dirs.c,v 1.21 2002/07/19 14:57:39 stelian Exp $"; + "$Id: dirs.c,v 1.23 2003/03/30 15:40:38 stelian Exp $"; #endif /* not lint */ #include @@ -587,7 +583,7 @@ static long rst_telldir(RST_DIR *dirp) { return ((long)lseek(dirp->dd_fd, - (off_t)0, SEEK_CUR) - dirp->dd_size + dirp->dd_loc); + (OFF_T)0, SEEK_CUR) - dirp->dd_size + dirp->dd_loc); } /*