From 12823585f9b299ba1e0edd6a8e4b680d10521aba Mon Sep 17 00:00:00 2001 From: quasar Date: Mon, 5 Nov 2007 11:59:06 +0000 Subject: [PATCH] one more buf fix to simdag prop git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4968 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- examples/simdag/properties/sd_prop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/simdag/properties/sd_prop.c b/examples/simdag/properties/sd_prop.c index 842d3ac253..843269c265 100755 --- a/examples/simdag/properties/sd_prop.c +++ b/examples/simdag/properties/sd_prop.c @@ -111,7 +111,7 @@ int main(int argc, char **argv) { INFO3("\tLink %s property: %s has value: %s",SD_link_get_name(route[i]),key,data); /* Try to get a property that does not exist */ - char noexist1="Other"; + char noexist1[]="Other"; value = SD_link_get_property_value(route[i], noexist1); if ( value == NULL) INFO2("\tProperty: %s for link %s is undefined", noexist, SD_link_get_name(route[i])); -- 2.20.1