From a760f23834439a94e2a74c3f8cf8f9588f3d7783 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Sat, 1 Mar 2003 01:22:49 +0000 Subject: [PATCH] STABLE12-nuke-create-windows-pathnames-only-on-windows-thanks-20030228 don't construct a windows path on unix (cherry picked from commit 54f056cc7a4a496c82eb6fdb9ba943c079702527) --- src/vol/nuke.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vol/nuke.c b/src/vol/nuke.c index fd390b5c1..787252c7d 100644 --- a/src/vol/nuke.c +++ b/src/vol/nuke.c @@ -204,11 +204,11 @@ afs_int32 avolid; { * volume's ID in its inode, and has to be removed explicitly. */ /* reuse devName buffer now */ -#ifdef AFS_NAMEI_ENV +#ifdef AFS_NT40_ENV sprintf(devName, "%c:\\%s", *lastDevComp , VolumeExternalName(avolid)); #else sprintf(devName, "%s/%s", aname, VolumeExternalName(avolid)); -#endif /* AFS_NAMEI_ENV */ +#endif /* AFS_NT40_ENV */ code = unlink(devName); if (code) code = errno; } -- 2.39.5