Update PROTOCOL bits.
[m6w6/libmemcached] / libtest / tmpfile.cc
index 1bbacda3f8ab77ac071888cfb2968175cea60ce4..b7cb5f5e8b9c73b4de4fd97955d02252af158889 100644 (file)
@@ -35,7 +35,7 @@ std::string create_tmpfile(const std::string& name)
   int fd;
   if ((fd= mkstemp(file_buffer)) == -1)
   {
-    libtest::fatal(LIBYATL_DEFAULT_PARAM, "mkstemp() failed on %s with %s", file_buffer, strerror(errno));
+    throw libtest::fatal(LIBYATL_DEFAULT_PARAM, "mkstemp() failed on %s with %s", file_buffer, strerror(errno));
   }
   close(fd);
   unlink(file_buffer);