]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Fix typo "ioclt" in various files.
authorLauri Nurmi <lanurmi@iki.fi>
Fri, 11 Jul 2014 19:52:09 +0000 (22:52 +0300)
committerLauri Nurmi <lanurmi@iki.fi>
Fri, 11 Jul 2014 19:52:09 +0000 (22:52 +0300)
include/blkdev.h
include/loopdev.h
login-utils/login.c
misc-utils/wipefs.c

index 5a5777ba34825958e4fd70b1b43040ee2a48e513..c994795a2ac1e2ab4b7eab70b42cf7e85b0b0012 100644 (file)
@@ -22,7 +22,7 @@
 #define DEFAULT_SECTOR_SIZE       512
 
 #ifdef __linux__
-/* very basic ioclts, should be available everywhere */
+/* very basic ioctls, should be available everywhere */
 # ifndef BLKROSET
 #  define BLKROSET   _IO(0x12,93)      /* set device read-only (0 = read-write) */
 #  define BLKROGET   _IO(0x12,94)      /* get read-only status (0 = read_write) */
index 793539935fb42e64d6c01a5fb609c99f791b1d1e..372c187fd2f473bb78db518c3e5d5ae6bbeda854 100644 (file)
@@ -45,7 +45,7 @@ enum {
 #define LO_KEY_SIZE    32
 
 /*
- * Linux LOOP_{SET,GET}_STATUS64 ioclt struct
+ * Linux LOOP_{SET,GET}_STATUS64 ioctl struct
  */
 struct loop_info64 {
        uint64_t        lo_device;
index 470076f8cb0486e05add128f41f6b99227259e27..ebb76f5e97e05dc02b3554e14b82163e42399388 100644 (file)
@@ -1123,7 +1123,7 @@ int main(int argc, char **argv)
        timeout = (unsigned int)getlogindefs_num("LOGIN_TIMEOUT", LOGIN_TIMEOUT);
 
        signal(SIGALRM, timedout);
-       siginterrupt(SIGALRM, 1);       /* we have to interrupt syscalls like ioclt() */
+       siginterrupt(SIGALRM, 1);       /* we have to interrupt syscalls like ioctl() */
        alarm(timeout);
        signal(SIGQUIT, SIG_IGN);
        signal(SIGINT, SIG_IGN);
index 2c1ea59473c863cdb88740dd9e634b3de21c5cd5..ad7caa59758f7db25329d855ce32819bd5ddf6db 100644 (file)
@@ -358,7 +358,7 @@ static void rereadpt(int fd, const char *devname)
 
        errno = 0;
        ioctl(fd, BLKRRPART);
-       printf(_("%s: calling ioclt to re-read partition table: %m\n"), devname);
+       printf(_("%s: calling ioctl to re-read partition table: %m\n"), devname);
 #endif
 }