diff --git a/dumux/discretization/volumevariables.hh b/dumux/discretization/volumevariables.hh
index ab8a37974eeeaddba859fddf5d32a3c9ed57cd3c..304740e6f483dd9f629a141db9cab1ae4e5d68aa 100644
--- a/dumux/discretization/volumevariables.hh
+++ b/dumux/discretization/volumevariables.hh
@@ -24,7 +24,7 @@
 #ifndef DUMUX_DISCRETIZATION_VOLUME_VARIABLES_DEPR_HH
 #define DUMUX_DISCRETIZATION_VOLUME_VARIABLES_DEPR_HH
 
-#warning "This header is deprecated. Use PorousmediumflowVolumeVariables from dumux/porousmediumflow/volumevariables.hh"
+#warning "This header is deprecated. Use PorousMediumFlowVolumeVariables from dumux/porousmediumflow/volumevariables.hh"
 #include <dune/common/deprecated.hh>
 #include <dumux/porousmediumflow/volumevariables.hh>
 
@@ -32,7 +32,7 @@ namespace Dumux
 {
 
 template<class TypeTag>
-using ImplicitVolumeVariables DUNE_DEPRECATED_MSG("Use PorousmediumflowVolumeVariables from dumux/porousmediumflow/volumevariables.hh")
+using ImplicitVolumeVariables DUNE_DEPRECATED_MSG("Use PorousMediumFlowVolumeVariables from dumux/porousmediumflow/volumevariables.hh")
 = PorousMediumFlowVolumeVariables<TypeTag>;
 
 } // end namespace Dumux