]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- fixed typos.
authorTomasz Pala <gotar@pld-linux.org>
Fri, 23 Nov 2001 14:33:00 +0000 (14:33 +0000)
committerTomasz Pala <gotar@pld-linux.org>
Fri, 23 Nov 2001 14:33:00 +0000 (14:33 +0000)
svn-id: @971

rc.d/rc.sysinit
src/ppp-watch.c
src/shvar.c
src/shvar.h

index d2bd89e628be3c7143031535eb9515934a96817b..5f432676b2e02ea885ba5d227301a49201a26fe4 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 #
 # /etc/rc.d/rc.sysinit - run once at boot time
-# $Id: rc.sysinit,v 1.89 2001/10/30 17:03:53 gotar Exp $
+# $Id: rc.sysinit,v 1.90 2001/11/23 14:32:58 gotar Exp $
 #
 # Taken in part from Miquel van Smoorenburg's bcheckrc.
 # Changes:     Arkadiusz Mi¶kiewicz <misiek@pld.org.pl>
@@ -325,7 +325,7 @@ if ! is_no "$RUN_DEPMOD" && [ -n "$USEMODULES" ]; then
        fi
 fi
 
-# Load sound modules iff they need persistent DMA buffers
+# Load sound modules if they need persistent DMA buffers
 if grep -q "options sound dmabuf=1" /etc/modules.conf 2>/dev/null ; then
        RETURN=0
        alias=$(/sbin/modprobe -c | egrep -s "^alias[[:space:]]+sound[[:space:]]+" | awk '{ print $3 }')
index 6114215fb95b6e9ccc92a94606267ff1c81f3b6d..3862de46e9126b7b5894e80cdd0c07291fc9c4de 100644 (file)
@@ -433,7 +433,7 @@ interfaceIsUp(char *device) {
     strncpy(ifr.ifr_name, device, sizeof(ifr.ifr_name) - 1);
     ifr.ifr_name[sizeof(ifr.ifr_name) - 1] = '\0';
 
-    /* We return TRUE iff the ioctl succeeded and the interface is UP. */
+    /* We return TRUE if the ioctl succeeded and the interface is UP. */
     if (ioctl(sock, SIOCGIFFLAGS, &ifr) == -1) {
         retcode = FALSE;
     } else if (ifr.ifr_flags & IFF_UP) {
index 765a77e7c5f377f02d23d8f3bb2a67a01644ff05..fa24e4c4ff8bc0870aef3784ef7381df2941f36a 100644 (file)
@@ -336,7 +336,7 @@ bail:
     goto end;
 }
 
-/* Write the current contents iff modified.  Returns -1 on error
+/* Write the current contents if modified.  Returns -1 on error
  * and 0 on success.  Do not write if no values have been modified.
  * The mode argument is only used if creating the file, not if
  * re-writing an existing file, and is passed unchanged to the
index 50d10680defc25ab6d71293b0a00936751a00f66..481d3bd56236d52c24999b982a19c34f9df1b66a 100644 (file)
@@ -81,7 +81,7 @@ void
 svSetValue(shvarFile *s, const char *key, const char *value);
 
 
-/* Write the current contents iff modified.  Returns -1 on error
+/* Write the current contents if modified.  Returns -1 on error
  * and 0 on success.  Do not write if no values have been modified.
  * The mode argument is only used if creating the file, not if
  * re-writing an existing file, and is passed unchanged to the
This page took 0.040788 seconds and 4 git commands to generate.