aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-10 15:08:54 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-10 15:08:54 +0100
commit6dd2997de345ffbff46248f8036f1b22b02c0b09 (patch)
treebbc3fe98afc4505a5b976b4cfb3f46a655e575f7
parent1972903cd360269d807af9d4b4f7bd45ddf00981 (diff)
downloadpaludis-6dd2997de345ffbff46248f8036f1b22b02c0b09.tar.gz
paludis-6dd2997de345ffbff46248f8036f1b22b02c0b09.tar.xz
typo
-rw-r--r--paludis/tar_extras.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/tar_extras.cc b/paludis/tar_extras.cc
index 8ec734f..bd4a4f9 100644
--- a/paludis/tar_extras.cc
+++ b/paludis/tar_extras.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2010 Ciaran McCreesh
+ * Copyright (c) 2010, 2011 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -78,7 +78,7 @@ paludis_tar_extras_add_file(PaludisTarExtras * const extras, const std::string &
if (ARCHIVE_OK != archive_read_disk_entry_from_file(disk_archive, entry, fd, 0))
throw MergerError("archive_read_disk_entry_from_file failed");
if (ARCHIVE_OK != archive_write_header(extras->archive, entry))
- throw MergerError("archive_read_disk_entry_from_file failed");
+ throw MergerError("archive_write_header failed");
int bytes_read;
char buf[4096];