From 54f056cc7a4a496c82eb6fdb9ba943c079702527 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Sat, 1 Mar 2003 01:22:08 +0000 Subject: [PATCH] nuke-create-windows-pathnames-only-on-windows-thanks-20030228 don't construct a windows path on unix --- 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 59aa95972..e94c930de 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