From: David Goulet Date: Thu, 11 Apr 2013 20:40:46 +0000 (-0400) Subject: Fix: typos in the code base X-Git-Tag: v2.2.0-rc2~46 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9c6bda17fc9edd28c46e52fdf439d37da81e8d9a;p=lttng-tools.git Fix: typos in the code base Fixes #488 Signed-off-by: David Goulet --- diff --git a/doc/proposals/0001-session-daemon-architecture.txt b/doc/proposals/0001-session-daemon-architecture.txt index 411d148d8..d7cc6c839 100644 --- a/doc/proposals/0001-session-daemon-architecture.txt +++ b/doc/proposals/0001-session-daemon-architecture.txt @@ -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 diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index ee348df85..08a3be467 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -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); /* diff --git a/src/bin/lttng/commands/create.c b/src/bin/lttng/commands/create.c index bdd180ebb..805cdb1d2 100644 --- a/src/bin/lttng/commands/create.c +++ b/src/bin/lttng/commands/create.c @@ -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"); diff --git a/src/bin/lttng/commands/disable_consumer.c b/src/bin/lttng/commands/disable_consumer.c index ca649ecd1..4ecf3db1e 100644 --- a/src/bin/lttng/commands/disable_consumer.c +++ b/src/bin/lttng/commands/disable_consumer.c @@ -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; diff --git a/src/bin/lttng/commands/enable_consumer.c b/src/bin/lttng/commands/enable_consumer.c index ecb0b239b..8524c8b40 100644 --- a/src/bin/lttng/commands/enable_consumer.c +++ b/src/bin/lttng/commands/enable_consumer.c @@ -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; diff --git a/src/bin/lttng/lttng.c b/src/bin/lttng/lttng.c index 90c031faf..79a28ba82 100644 --- a/src/bin/lttng/lttng.c +++ b/src/bin/lttng/lttng.c @@ -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 */ }; diff --git a/src/lib/lttng-ctl/lttng-ctl.c b/src/lib/lttng-ctl/lttng-ctl.c index 3b67923b9..107e70b6f 100644 --- a/src/lib/lttng-ctl/lttng-ctl.c +++ b/src/lib/lttng-ctl/lttng-ctl.c @@ -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) {