]> diplodocus.org Git - nmh/blobdiff - sbr/utils.c
Don't increment bytes_read if returning EOF.
[nmh] / sbr / utils.c
index f24f00def825f46d8495109e0551f6aa9caac290..7ebb418618965615a67c71f3c31c863c8651f3c9 100644 (file)
@@ -56,7 +56,7 @@ mh_xrealloc(void *ptr, size_t size)
         return mh_xmalloc(size);
 
     if (size == 0)
-        adios(NULL, "Tried to realloc 0bytes");
+        adios(NULL, "Tried to realloc 0 bytes");
 
     memory = realloc(ptr, size);
     if (!memory)
@@ -410,7 +410,7 @@ nmh_init(const char *argv0, int read_context) {
     } else {
         int status = context_foil(NULL);
         if (status != OK) {
-            advise("", "failed to create minimal profile/conext");
+            advise("", "failed to create minimal profile/context");
         }
         return status;
     }