From 9ae801944682dd1022e94d4629d550a209aceb08 Mon Sep 17 00:00:00 2001
From: mattijs <mattijs>
Date: Tue, 1 Mar 2011 18:03:34 +0000
Subject: [PATCH] STYLE: directMappedPatchBase.C: date

---
 .../directMappedPolyPatch/directMappedPatchBase.C        | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/meshTools/directMapped/directMappedPolyPatch/directMappedPatchBase.C b/src/meshTools/directMapped/directMappedPolyPatch/directMappedPatchBase.C
index fee6f86ff46..544245faf57 100644
--- a/src/meshTools/directMapped/directMappedPolyPatch/directMappedPatchBase.C
+++ b/src/meshTools/directMapped/directMappedPolyPatch/directMappedPatchBase.C
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2004-2010 OpenCFD Ltd.
+    \\  /    A nd           | Copyright (C) 2004-2011 OpenCFD Ltd.
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
@@ -709,16 +709,17 @@ Foam::directMappedPatchBase::directMappedPatchBase
     }
     else
     {
-        FatalErrorIn
+        FatalIOErrorIn
         (
             "directMappedPatchBase::directMappedPatchBase\n"
             "(\n"
             "    const polyPatch& pp,\n"
             "    const dictionary& dict\n"
-            ")\n"
+            ")\n",
+            dict
         )   << "Please supply the offsetMode as one of "
             << NamedEnum<offsetMode, 3>::words()
-            << exit(FatalError);
+            << exit(FatalIOError);
     }
 }
 
-- 
GitLab