16ef366a0ca6625d1b2b0db38748cbc952c83cdd
angie
  Mon May 23 10:58:05 2011 -0700
Fix compile warning for Ubuntu: warn's first argument must be a format string.
diff --git src/hg/lib/hubConnect.c src/hg/lib/hubConnect.c
index 3f20fd8..3158a07 100644
--- src/hg/lib/hubConnect.c
+++ src/hg/lib/hubConnect.c
@@ -369,31 +369,31 @@
 }
 
 static boolean fetchHub(char *database, char *url, boolean unlisted)
 {
 struct errCatch *errCatch = errCatchNew();
 struct trackHub *tHub = NULL;
 boolean gotWarning = FALSE;
 unsigned id = 0;
 
 if (errCatchStart(errCatch))
     tHub = trackHubOpen(url, "1"); // open hub.. it'll get renamed later
 errCatchEnd(errCatch);
 if (errCatch->gotError)
     {
     gotWarning = TRUE;
-    warn(errCatch->message->string);
+    warn("%s", errCatch->message->string);
     }
 errCatchFree(&errCatch);
 
 if (gotWarning)
     {
     return 0;
     }
 
 if (hashLookup(tHub->genomeHash, database) != NULL)
     {
     enterHubInStatus(tHub, unlisted);
     }
 else
     {
     warn("requested hub at %s does not have data for %s\n", url, database);