Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Context-based output infrastructure (V3_Print, etc) and modifications to use it
[palacios.git] / palacios / src / palacios / vmm_string.c
index af102f7..01c408c 100644 (file)
@@ -73,7 +73,7 @@ void * memmove(void * dst, const void * src, size_t n) {
     uint8_t * tmp = (uint8_t *)V3_Malloc(n);
 
     if (!tmp) {
-       PrintError("Cannot allocate in built-in memmove\n");
+       PrintError(info->vm_info, info, "Cannot allocate in built-in memmove\n");
        return NULL;
     }
     
@@ -292,7 +292,7 @@ char * strdup(const char * s1) {
     ret = V3_Malloc(strlen(s1) + 1);
 
     if (!ret) {
-       PrintError("Cannot allocate in built-in strdup\n");
+        PrintError(VM_NONE, VCORE_NONE, "Cannot allocate in built-in strdup\n");
        return NULL;
     }