Fix: typos in the code base
authorDavid Goulet <dgoulet@efficios.com>
Thu, 11 Apr 2013 20:40:46 +0000 (16:40 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 11 Apr 2013 20:40:46 +0000 (16:40 -0400)
Fixes #488

Signed-off-by: David Goulet <dgoulet@efficios.com>
doc/proposals/0001-session-daemon-architecture.txt
include/lttng/lttng.h
src/bin/lttng/commands/create.c
src/bin/lttng/commands/disable_consumer.c
src/bin/lttng/commands/enable_consumer.c
src/bin/lttng/lttng.c
src/lib/lttng-ctl/lttng-ctl.c

index 411d148d8c9d1f92862923b09bfcbbc23f89a7d9..d7cc6c83953d97b6e4a5d0b138febc81884d9435 100644 (file)
@@ -1,7 +1,7 @@
 RFC - LTTng session daemon architecture
 
 WARNING:
-  Parts of the proposal are obselete but we keep this version for historical
+  Parts of the proposal are obsolete but we keep this version for historical
   purposes.
 
 Author: David Goulet <david.goulet@polymtl.ca>
index ee348df850adb0c4753201595ed2e404b1840a9e..08a3be467958d2c9cb9a9d7c917dc4f2862fd376 100644 (file)
@@ -601,13 +601,13 @@ extern int lttng_set_consumer_url(struct lttng_handle *handle,
 /*
  * Enable the consumer for a session and domain.
  */
-extern LTTNG_DEPRECATED("This call is now obselete.")
+extern LTTNG_DEPRECATED("This call is now obsolete.")
 int lttng_enable_consumer(struct lttng_handle *handle);
 
 /*
  * Disable consumer for a session and domain.
  */
-extern LTTNG_DEPRECATED("This call is now obselete.")
+extern LTTNG_DEPRECATED("This call is now obsolete.")
 int lttng_disable_consumer(struct lttng_handle *handle);
 
 /*
index bdd180ebb3af3c7517d1413f1c1840cb9168dc87..805cdb1d27157e73c674a93d6c13195b5d27fe36 100644 (file)
@@ -91,11 +91,6 @@ static void usage(FILE *ofp)
        fprintf(ofp, "                       You can change it with the enable-consumer cmd\n");
        fprintf(ofp, "  -C, --ctrl-url=URL   Set control path URL. (Must use -D also)\n");
        fprintf(ofp, "  -D, --data-url=URL   Set data path URL. (Must use -C also)\n");
-       fprintf(ofp, "      --no-consumer    Don't activate a consumer for this session.\n");
-       fprintf(ofp, "                       OBSELETE\n");
-       fprintf(ofp, "      --disable-consumer\n");
-       fprintf(ofp, "                       Disable consumer for this session.\n");
-       fprintf(ofp, "                       OBSELETE\n");
        fprintf(ofp, "\n");
        fprintf(ofp, "Please refer to the man page (lttng(1)) for more information on network\n");
        fprintf(ofp, "streaming mechanisms and explanation of the control and data port\n");
index ca649ecd1518a4df17bde05c010522675df803db..4ecf3db1e19708fd4060b73f15b1d2503ed8f648 100644 (file)
@@ -37,7 +37,7 @@ int cmd_disable_consumer(int argc, const char **argv)
 {
        int ret;
 
-       MSG("The disable-consumer command is now obselete.");
+       MSG("The disable-consumer command is now obsolete.");
        ret = CMD_WARNING;
 
        return ret;
index ecb0b239bb914de4b2967246cef3d270eb28aaab..8524c8b401f8e2f7d999a7107d1d4750ea716d17 100644 (file)
@@ -37,7 +37,7 @@ int cmd_enable_consumer(int argc, const char **argv)
 {
        int ret;
 
-       MSG("The enable-consumer command is now obselete.");
+       MSG("The enable-consumer command is now obsolete.");
        ret = CMD_WARNING;
 
        return ret;
index 90c031fafaaf655cd124d494ef207e2ba8b7c0c2..79a28ba82da1c94eb4028a874e03d1a2e654224c 100644 (file)
@@ -74,8 +74,8 @@ static struct cmd_struct commands[] =  {
        { "version", cmd_version},
        { "calibrate", cmd_calibrate},
        { "view", cmd_view},
-       { "enable-consumer", cmd_enable_consumer}, /* OBSELETE */
-       { "disable-consumer", cmd_disable_consumer}, /*OBSELETE */
+       { "enable-consumer", cmd_enable_consumer}, /* OBSOLETE */
+       { "disable-consumer", cmd_disable_consumer}, /* OBSOLETE */
        { NULL, NULL}   /* Array closure */
 };
 
index 3b67923b9cae45ce088b02853c19d7b0e31799bc..107e70b6fa85d897553cb912feefed4d3dc6e491 100644 (file)
@@ -1494,7 +1494,7 @@ int lttng_set_consumer_url(struct lttng_handle *handle,
 }
 
 /*
- * [OBSELETE]
+ * [OBSOLETE]
  */
 int lttng_enable_consumer(struct lttng_handle *handle)
 {
@@ -1502,7 +1502,7 @@ int lttng_enable_consumer(struct lttng_handle *handle)
 }
 
 /*
- * [OBSELETE]
+ * [OBSOLETE]
  */
 int lttng_disable_consumer(struct lttng_handle *handle)
 {
This page took 0.028542 seconds and 4 git commands to generate.