Fix warnings int the lttv/sync directory
[lttv.git] / lttv / lttv / sync / event_matching_tcp.c
index 3662769a9d17d087de29054c734ae1215033f961..2d4fe51827cd88279562560e1a84267eb25dbbfd 100644 (file)
@@ -250,7 +250,7 @@ static void matchEventTCP(SyncState* const syncState, Event* const event)
 
 
 /*
- * Call the partial matching destroyer and Obtain the factors from downstream
+ * Call the partial matching destroyer and obtain the factors from downstream
  *
  * Args:
  *   syncState     container for synchronization data.
@@ -604,7 +604,7 @@ static void openGraphDataFiles(SyncState* const syncState)
                                if ((matchingData->messagePoints[i][j]= fopen(name, "w")) ==
                                        NULL)
                                {
-                                       g_error(strerror(errno));
+                                       g_error("%s", strerror(errno));
                                }
                        }
                }
@@ -613,7 +613,7 @@ static void openGraphDataFiles(SyncState* const syncState)
        retval= chdir(cwd);
        if (retval == -1)
        {
-               g_error(strerror(errno));
+               g_error("%s", strerror(errno));
        }
        free(cwd);
 }
@@ -676,7 +676,7 @@ static void closeGraphDataFiles(SyncState* const syncState)
                                retval= fclose(matchingData->messagePoints[i][j]);
                                if (retval != 0)
                                {
-                                       g_error(strerror(errno));
+                                       g_error("%s", strerror(errno));
                                }
                        }
                }
This page took 0.022935 seconds and 4 git commands to generate.