AU: FilesystemCopierAction: copy bit-exactly
Review URL: http://codereview.chromium.org/1700018
diff --git a/utils.h b/utils.h
index bcbd8da..7b6fc10 100644
--- a/utils.h
+++ b/utils.h
@@ -10,6 +10,7 @@
#include <set>
#include <string>
#include <vector>
+#include <glib.h>
#include "update_engine/action.h"
#include "update_engine/action_processor.h"
@@ -78,6 +79,9 @@
unsigned long flags);
bool UnmountFilesystem(const std::string& mountpoint);
+// Returns the error message, if any, from a GError pointer.
+const char* GetGErrorMessage(const GError* error);
+
// Log a string in hex to LOG(INFO). Useful for debugging.
void HexDumpArray(const unsigned char* const arr, const size_t length);
inline void HexDumpString(const std::string& str) {