Fixing the error messages
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Wed, 22 Oct 2008 09:40:16 +0000 (09:40 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Wed, 22 Oct 2008 09:40:16 +0000 (09:40 +0000)
db/migrate/017_populate_node_tags_and_remove_helper.c

index 5a0fbb6cd97094ead01e67c96770c6b426b4c518..12203d9cfe29fd6fa1a1ba1ae047120206625d0d 100644 (file)
@@ -7,9 +7,9 @@
 static void exit_mysql_err(MYSQL *mysql) {
   const char *err = mysql_error(mysql);
   if (err) {
-    fprintf(stderr, "013_populate_node_tags_and_remove_helper: MySQL error: %s\n", err);
+    fprintf(stderr, "017_populate_node_tags_and_remove_helper: MySQL error: %s\n", err);
   } else {
-    fprintf(stderr, "013_populate_node_tags_and_remove_helper: MySQL error\n");
+    fprintf(stderr, "017_populate_node_tags_and_remove_helper: MySQL error\n");
   }
   abort();
   exit(EXIT_FAILURE);
@@ -192,7 +192,7 @@ int main(int argc, char **argv) {
   struct data data, *d = &data;
 
   if (argc != 8) {
-    printf("Usage: 013_populate_node_tags_and_remove_helper host user passwd database port socket prefix\n");
+    printf("Usage: 017_populate_node_tags_and_remove_helper host user passwd database port socket prefix\n");
     exit(EXIT_FAILURE);
   }