diff --git a/modules/access/file.c b/modules/access/file.c
index 48153f96b69fd2b85b6b439ca3a52139cc5bcf57..3991fb062e697cbd1ae7155a0bb2b6db75efcaaf 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -513,11 +513,12 @@ static int Control( access_t *p_access, int i_query, va_list args )
         case ACCESS_SET_SEEKPOINT:
         case ACCESS_SET_PRIVATE_ID_STATE:
         case ACCESS_GET_META:
+        case ACCESS_GET_PRIVATE_ID_STATE:
         case ACCESS_GET_CONTENT_TYPE:
             return VLC_EGENERIC;
 
         default:
-            msg_Warn( p_access, "unimplemented query in control" );
+            msg_Warn( p_access, "unimplemented query %d in control", i_query );
             return VLC_EGENERIC;
 
     }