X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fram_hd.c;h=c90e5bebb8c8fc3ded37c949d9dbc3208bdd280c;hp=6a5730c4abbee62c6a302af4d3891049bb308b93;hb=61597ea2c5ccace036d8a65e429e32b8f8a7ed4a;hpb=f3eb8bbb7c58c98b03797f2188e6c1d2a7610c15 diff --git a/palacios/src/devices/ram_hd.c b/palacios/src/devices/ram_hd.c index 6a5730c..c90e5be 100644 --- a/palacios/src/devices/ram_hd.c +++ b/palacios/src/devices/ram_hd.c @@ -108,7 +108,7 @@ static int hd_init(struct guest_info * vm, void * cfg_data) { hd = (struct hd_state *)V3_Malloc(sizeof(struct hd_state)); - PrintDebug("Registering Ram HDD at %p (size=%d)\n", (void *)ramdisk, size); + PrintDebug("Registering Ram HDD at %p (size=%d)\n", (void *)cfg->ramdisk, cfg->size); hd->disk_image = cfg->ramdisk; hd->capacity = cfg->size;