X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fvol%2Fnuke.c;h=7194503e6b0e0b536767a92e7c356576f9fee66e;hp=bd8687d0c646e771d5cf06482fc3659a87eb58d5;hb=788ca86bdc139ee42aeecceb4b453c87bfd2426f;hpb=9a39ae21fea305029f1bcdc6a864170ff6503793 diff --git a/src/vol/nuke.c b/src/vol/nuke.c index bd8687d..7194503 100644 --- a/src/vol/nuke.c +++ b/src/vol/nuke.c @@ -144,12 +144,12 @@ nuke(char *aname, afs_int32 avolid) *lastDevComp = toupper(*lastDevComp); #else { - char *tfile = vol_DevName(tstat.st_dev, wpath); - if (!tfile) { - printf("volnuke: can't find %s's device.\n", aname); - return 1; - } - strcpy(devName, tfile); /* save this from the static buffer */ + char *tfile = vol_DevName(tstat.st_dev, wpath); + if (!tfile) { + printf("volnuke: can't find %s's device.\n", aname); + return 1; + } + strcpy(devName, tfile); /* save this from the static buffer */ } /* aim lastDevComp at the 'foo' of '/dev/foo' */ lastDevComp = strrchr(devName, '/'); @@ -201,12 +201,12 @@ nuke(char *aname, afs_int32 avolid) } #else /* AFS_NAMEI_ENV */ IH_INIT(fileH, (int)tstat.st_dev, avolid, ti->inode[i]); - { - int j; - for (j = 0; j < ti->count[i]; j++) { - code = IH_DEC(fileH, ti->inode[i], avolid); - } - } + { + int j; + for (j = 0; j < ti->count[i]; j++) { + code = IH_DEC(fileH, ti->inode[i], avolid); + } + } IH_RELEASE(fileH); #endif /* AFS_NAMEI_ENV */ }