From: Stelian Pop Date: Sat, 28 May 2005 18:34:47 +0000 (+0000) Subject: Fix code to not require ISO C99. X-Git-Tag: release_0_4b41~9 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=697352d30b476dbaac7a87512e0f0a389427454c;p=dump.git Fix code to not require ISO C99. --- diff --git a/restore/dirs.c b/restore/dirs.c index b049f49..88dfc69 100644 --- a/restore/dirs.c +++ b/restore/dirs.c @@ -42,7 +42,7 @@ #ifndef lint static const char rcsid[] = - "$Id: dirs.c,v 1.32 2005/05/02 15:10:46 stelian Exp $"; + "$Id: dirs.c,v 1.33 2005/05/28 18:34:47 stelian Exp $"; #endif /* not lint */ #include @@ -769,10 +769,10 @@ comparedirmodes(void) if (ep == NULL) { panic("cannot find directory inode %d\n", node.ino); } else { - cp = myname(ep); struct STAT sb; unsigned long newflags; + cp = myname(ep); if (LSTAT(cp, &sb) < 0) { warn("unable to stat %s", cp); do_compare_error;