]> git.tdb.fi Git - builder.git/blobdiff - source/gnuarchiver.cpp
Fix an incorrect exception message
[builder.git] / source / gnuarchiver.cpp
index d75c627519694b03207847d3b0c671324c042546..4916408e312607e840cfc9314bc3ee8061b6e760 100644 (file)
@@ -30,7 +30,7 @@ Target *GnuArchiver::create_target(const list<Target *> &sources, const string &
                if(ObjectFile *obj = dynamic_cast<ObjectFile *>(*i))
                        objs.push_back(obj);
                else
-                       throw invalid_argument("GnuLinker::create_target");
+                       throw invalid_argument("GnuArchiver::create_target");
        }
 
        const Component &comp = objs.front()->get_component();