From 66b9371bb6094bc70eaeb7ade45a76ae9b0a6d59 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 24 Sep 2009 15:32:23 +0200 Subject: [PATCH] ntdll: Silence a noisy FIXME. --- dlls/ntdll/file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index 62f6743cc6c..4ad84dcb71f 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -2243,6 +2243,7 @@ NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, PIO_STATUS_BLOCK io { int fd, needs_close; struct stat st; + static int once; if ((io->u.Status = server_get_unix_fd( handle, 0, &fd, &needs_close, NULL, NULL )) != STATUS_SUCCESS) return io->u.Status; @@ -2253,7 +2254,7 @@ NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, PIO_STATUS_BLOCK io switch( info_class ) { case FileFsVolumeInformation: - FIXME( "%p: volume info not supported\n", handle ); + if (!once++) FIXME( "%p: volume info not supported\n", handle ); break; case FileFsLabelInformation: FIXME( "%p: label info not supported\n", handle );