Skip to content

Commit

Permalink
tools: hv: fix typos in toolchain
Browse files Browse the repository at this point in the history
Fix typos in the HyperV toolchain.

Signed-off-by: Adrian Vladu <[email protected]>

Cc: "K. Y. Srinivasan" <[email protected]>
Cc: Haiyang Zhang <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Cc: Sasha Levin <[email protected]>
Cc: Alessandro Pilotti <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
ader1990 authored and Sasha Levin committed Aug 17, 2019
1 parent b099515 commit 2d35c66
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tools/hv/hv_get_dhcp_info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# the script prints the string "Disabled" to stdout.
#
# Each Distro is expected to implement this script in a distro specific
# fashion. For instance on Distros that ship with Network Manager enabled,
# fashion. For instance, on Distros that ship with Network Manager enabled,
# this script can be based on the Network Manager APIs for retrieving DHCP
# information.

Expand Down
6 changes: 3 additions & 3 deletions tools/hv/hv_kvp_daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ static void kvp_get_ipconfig_info(char *if_name,


/*
* Gather the DNS state.
* Gather the DNS state.
* Since there is no standard way to get this information
* across various distributions of interest; we just invoke
* an external script that needs to be ported across distros
Expand Down Expand Up @@ -1051,7 +1051,7 @@ static int parse_ip_val_buffer(char *in_buf, int *offset,
char *start;

/*
* in_buf has sequence of characters that are seperated by
* in_buf has sequence of characters that are separated by
* the character ';'. The last sequence does not have the
* terminating ";" character.
*/
Expand Down Expand Up @@ -1492,7 +1492,7 @@ int main(int argc, char *argv[])
case KVP_OP_GET_IP_INFO:
kvp_ip_val = &hv_msg->body.kvp_ip_val;

error = kvp_mac_to_ip(kvp_ip_val);
error = kvp_mac_to_ip(kvp_ip_val);

if (error)
hv_msg->error = error;
Expand Down
2 changes: 1 addition & 1 deletion tools/hv/hv_set_ifconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# be used to configure the interface.
#
# Each Distro is expected to implement this script in a distro specific
# fashion. For instance on Distros that ship with Network Manager enabled,
# fashion. For instance, on Distros that ship with Network Manager enabled,
# this script can be based on the Network Manager APIs for configuring the
# interface.
#
Expand Down
2 changes: 1 addition & 1 deletion tools/hv/hv_vss_daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static int vss_do_freeze(char *dir, unsigned int cmd)
* If a partition is mounted more than once, only the first
* FREEZE/THAW can succeed and the later ones will get
* EBUSY/EINVAL respectively: there could be 2 cases:
* 1) a user may mount the same partition to differnt directories
* 1) a user may mount the same partition to different directories
* by mistake or on purpose;
* 2) The subvolume of btrfs appears to have the same partition
* mounted more than once.
Expand Down

0 comments on commit 2d35c66

Please sign in to comment.