diff --git a/include/ps/internal/utils.h b/include/ps/internal/utils.h index ed198765..f28dcaf1 100644 --- a/include/ps/internal/utils.h +++ b/include/ps/internal/utils.h @@ -23,7 +23,7 @@ typedef unsigned __int64 uint64_t; /*! * \brief Get environment variable as int with default. * \param key the name of environment variable. - * \param default_val the default value of environment vriable. + * \param default_val the default value of environment variable. * \return The value received */ template diff --git a/src/van.cc b/src/van.cc index bfb25170..a9348238 100644 --- a/src/van.cc +++ b/src/van.cc @@ -511,7 +511,7 @@ void Van::PackMeta(const Meta& meta, char** meta_buf, int* buf_size) { *buf_size = pb.ByteSize(); *meta_buf = new char[*buf_size + 1]; CHECK(pb.SerializeToArray(*meta_buf, *buf_size)) - << "failed to serialize protbuf"; + << "failed to serialize protobuf"; } void Van::UnpackMeta(const char* meta_buf, int buf_size, Meta* meta) {