Skip to contentSkip to conversation

Fix spelling (prefered -> preferred)

PATCH Applied Stefan Weil 2 participants 3 messages Nov 2, 2012 – Nov 19, 2012 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix spelling (prefered -> preferred)

---
 configure       |    2 +-
 net/tap-win32.c |    7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)
configure +1 -1
index 79701ea..860859b 100755
@@ -2115,7 +2115,7 @@ if test "$pixman" = "system"; then
 else
   if test ! -d ${source_path}/pixman/pixman; then
     echo "ERROR: pixman not present. Your options:"
-    echo "  (1) Prefered: Install the pixman devel package (any recent"
+    echo "  (1) Preferred: Install the pixman devel package (any recent"
     echo "      distro should have packages as Xorg needs pixman too)."
     echo "  (2) Fetch the pixman submodule, using:"
     echo "      git submodule update --init pixman"
net/tap-win32.c +4 -3
index 8d2d32b..f9bd741 100644
@@ -565,7 +565,7 @@ static void tap_win32_free_buffer(tap_win32_overlapped_t *overlapped,
 }
 
 static int tap_win32_open(tap_win32_overlapped_t **phandle,
-                          const char *prefered_name)
+                          const char *preferred_name)
 {
     char device_path[256];
     char device_guid[0x100];
@@ -581,8 +581,9 @@ static int tap_win32_open(tap_win32_overlapped_t **phandle,
     DWORD version_len;
     DWORD idThread;
 
-    if (prefered_name != NULL)
-        snprintf(name_buffer, sizeof(name_buffer), "%s", prefered_name);
+    if (preferred_name != NULL) {
+        snprintf(name_buffer, sizeof(name_buffer), "%s", preferred_name);
+    }
 
     rc = get_device_guid(device_guid, sizeof(device_guid), name_buffer, sizeof(name_buffer));
     if (rc)
Signature · 1 line
1.7.10.4
#1 lore raw

Am 02.11.2012 08:14, schrieb Stefan Weil:

Quoted 35 lines
---
  configure       |    2 +-
  net/tap-win32.c |    7 ++++---
  2 files changed, 5 insertions(+), 4 deletions(-)
configure +1 -1
index 79701ea..860859b 100755
@@ -2115,7 +2115,7 @@ if test "$pixman" = "system"; then
  else
    if test ! -d ${source_path}/pixman/pixman; then
      echo "ERROR: pixman not present. Your options:"
-    echo "  (1) Prefered: Install the pixman devel package (any recent"
+    echo "  (1) Preferred: Install the pixman devel package (any recent"
      echo "      distro should have packages as Xorg needs pixman too)."
      echo "  (2) Fetch the pixman submodule, using:"
      echo "      git submodule update --init pixman"
net/tap-win32.c +1 -1
index 8d2d32b..f9bd741 100644
@@ -565,7 +565,7 @@ static void tap_win32_free_buffer(tap_win32_overlapped_t *overlapped,
  }
 
  static int tap_win32_open(tap_win32_overlapped_t **phandle,
-                          const char *prefered_name)
+                          const char *preferred_name)
  {
      char device_path[256];
      char device_guid[0x100];
@@ -581,8 +581,9 @@ static int tap_win32_open(tap_win32_overlapped_t **phandle,
      DWORD version_len;

net/tap-win32.c static int tap_win32_open(tap_win32_overlapped_t **phandle, · line 589

Quoted 10 lines
net/tap-win32.c +3 -2
      DWORD idThread;
 
-    if (prefered_name != NULL)
-        snprintf(name_buffer, sizeof(name_buffer), "%s", prefered_name);
+    if (preferred_name != NULL) {
+        snprintf(name_buffer, sizeof(name_buffer), "%s", preferred_name);
+    }
 
      rc = get_device_guid(device_guid, sizeof(device_guid), name_buffer, sizeof(name_buffer));
      if (rc)

ping?

#2 lore raw
Quoted 43 lines · Stefan Weil

Am 02.11.2012 08:14, schrieb Stefan Weil:

Quoted 42 lines
---
 configure       |    2 +-
 net/tap-win32.c |    7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)
configure +1 -1
index 79701ea..860859b 100755
@@ -2115,7 +2115,7 @@ if test "$pixman" = "system"; then
 else
   if test ! -d ${source_path}/pixman/pixman; then
     echo "ERROR: pixman not present. Your options:"
-    echo "  (1) Prefered: Install the pixman devel package (any recent"
+    echo "  (1) Preferred: Install the pixman devel package (any recent"
     echo "      distro should have packages as Xorg needs pixman too)."
     echo "  (2) Fetch the pixman submodule, using:"
     echo "      git submodule update --init pixman"
net/tap-win32.c +4 -3
index 8d2d32b..f9bd741 100644
@@ -565,7 +565,7 @@ static void tap_win32_free_buffer(tap_win32_overlapped_t *overlapped,
 }
 
 static int tap_win32_open(tap_win32_overlapped_t **phandle,
-                          const char *prefered_name)
+                          const char *preferred_name)
 {
     char device_path[256];
     char device_guid[0x100];
@@ -581,8 +581,9 @@ static int tap_win32_open(tap_win32_overlapped_t **phandle,
     DWORD version_len;
     DWORD idThread;
 
-    if (prefered_name != NULL)
-        snprintf(name_buffer, sizeof(name_buffer), "%s", prefered_name);
+    if (preferred_name != NULL) {
+        snprintf(name_buffer, sizeof(name_buffer), "%s", preferred_name);
+    }
 
Quoted 4 lines

net/tap-win32.c static int tap_win32_open(tap_win32_overlapped_t **phandle, · line 589

Quoted 2 lines
net/tap-win32.c +0 -0
     rc = get_device_guid(device_guid, sizeof(device_guid), name_buffer, sizeof(name_buffer));
     if (rc)

ping?

Thanks, applied to the trivial patches tree. Sorry I missed this one.

There is currently a pending trivial patches pull request - this patch will be in the next pull request.

Stefan