[PATCH] core: fix some typos in comments

Dan Williams dcbw at redhat.com
Thu Dec 5 11:05:11 PST 2013


On Wed, 2013-12-04 at 23:44 -0800, Ben Chan wrote:
> ---
>  src/mm-broadband-modem.c | 4 ++--
>  src/mm-iface-modem.c     | 4 ++--
>  src/mm-serial-port.c     | 2 +-
>  3 files changed, 5 insertions(+), 5 deletions(-)

Pushed, thanks!

Dan

> diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c
> index b2184ac..195aff5 100644
> --- a/src/mm-broadband-modem.c
> +++ b/src/mm-broadband-modem.c
> @@ -292,7 +292,7 @@ modem_create_bearer (MMIfaceModem *self,
>  }
>  
>  /*****************************************************************************/
> -/* Create SIM (Modem inteface) */
> +/* Create SIM (Modem interface) */
>  
>  static MMSim *
>  modem_create_sim_finish (MMIfaceModem *self,
> @@ -4288,7 +4288,7 @@ unsolicited_registration_events_context_step (UnsolicitedRegistrationEventsConte
>  
>      /* All done!
>       * If we have any error reported, we'll propagate it. EPS errors take
> -     * precendence over PS errors and PS errors take precendence over CS errors. */
> +     * precedence over PS errors and PS errors take precedence over CS errors. */
>      if (ctx->eps_error) {
>          g_simple_async_result_take_error (ctx->result, ctx->eps_error);
>          ctx->eps_error = NULL;
> diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c
> index 838e8ec..befb0e2 100644
> --- a/src/mm-iface-modem.c
> +++ b/src/mm-iface-modem.c
> @@ -1494,7 +1494,7 @@ get_updated_consolidated_state (MMIfaceModem *self,
>  
>      /* Reported subsystem states will be REGISTRATION-related. This means
>       * that we would only expect a subset of the states being reported for
> -     * the subystem. Warn if we get others */
> +     * the subsystem. Warn if we get others */
>      g_warn_if_fail (subsystem_state == MM_MODEM_STATE_ENABLED ||
>                      subsystem_state == MM_MODEM_STATE_SEARCHING ||
>                      subsystem_state == MM_MODEM_STATE_REGISTERED);
> @@ -2530,7 +2530,7 @@ mm_iface_modem_set_current_modes (MMIfaceModem *self,
>      supported = mm_common_mode_combinations_variant_to_garray (
>          mm_gdbus_modem_get_supported_modes (ctx->skeleton));
>  
> -    /* Don't allow mode switchin if only one item given in the supported list */
> +    /* Don't allow mode switching if only one item given in the supported list */
>      if (supported->len == 1) {
>          g_simple_async_result_set_error (ctx->result,
>                                           MM_CORE_ERROR,
> diff --git a/src/mm-serial-port.c b/src/mm-serial-port.c
> index 4aaac0e..545e707 100644
> --- a/src/mm-serial-port.c
> +++ b/src/mm-serial-port.c
> @@ -1728,7 +1728,7 @@ mm_serial_port_class_init (MMSerialPortClass *klass)
>          (object_class, PROP_FD,
>           g_param_spec_int (MM_SERIAL_PORT_FD,
>                             "File descriptor",
> -                           "Fiel descriptor",
> +                           "File descriptor",
>                             -1, G_MAXINT, -1,
>                             G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
>  




More information about the ModemManager-devel mailing list