Index: libalberta2-2.0.1/alberta/src/Common/write_mesh_gmv.c
===================================================================
--- libalberta2-2.0.1.orig/alberta/src/Common/write_mesh_gmv.c	2007-09-27 14:57:15.000000000 +0200
+++ libalberta2-2.0.1/alberta/src/Common/write_mesh_gmv.c	2011-11-26 09:21:15.269858373 +0100
@@ -336,7 +336,7 @@
   else
     ERROR_EXIT("Could not determine centering type of data (n_dof[VERTEX] and n_dof[CENTER] both nil).\n");
 
-  snprintf(drv_name, 32, drv->name);
+  snprintf(drv_name, 32, "%s", drv->name);
   convert_string((char *)drv_name);
 
   if(write_ascii)
@@ -462,7 +462,7 @@
   else {
     n_components = DIM_OF_WORLD;
 
-    snprintf(drdv_name, 32, drdv->name);
+    snprintf(drdv_name, 32, "%s", drdv->name);
     convert_string((char *)drdv_name);
 
     if(write_ascii) {
@@ -942,7 +942,7 @@
 
   for(i = 0; i < n_drv; i++)
     if(new_vecs[i]) {
-      snprintf(name, 32, drv_ptr[i]->name);
+      snprintf(name, 32, "%s", drv_ptr[i]->name);
       convert_string(name);
 
       if(drv_ptr[i]->fe_space->bas_fcts->degree == 0) {
@@ -983,7 +983,7 @@
 
   for(i = 0; i < n_drdv; i++)
     if(new_vecs_d[i][0]) {
-      snprintf(name, 32, drdv_ptr[i]->name);
+      snprintf(name, 32, "%s", drdv_ptr[i]->name);
       convert_string(name);
 
       if(drdv_ptr[i]->fe_space->bas_fcts->degree == 0) {
