From a5c523a0e7974b9e8655536e6ffd90cf6e3afb3e Mon Sep 17 00:00:00 2001 From: Lauri Nurmi Date: Fri, 11 Jul 2014 22:52:09 +0300 Subject: [PATCH] Fix typo "ioclt" in various files. --- include/blkdev.h | 2 +- include/loopdev.h | 2 +- login-utils/login.c | 2 +- misc-utils/wipefs.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/blkdev.h b/include/blkdev.h index 5a5777ba34..c994795a2a 100644 --- a/include/blkdev.h +++ b/include/blkdev.h @@ -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) */ diff --git a/include/loopdev.h b/include/loopdev.h index 793539935f..372c187fd2 100644 --- a/include/loopdev.h +++ b/include/loopdev.h @@ -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; diff --git a/login-utils/login.c b/login-utils/login.c index 470076f8cb..ebb76f5e97 100644 --- a/login-utils/login.c +++ b/login-utils/login.c @@ -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); diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c index 2c1ea59473..ad7caa5975 100644 --- a/misc-utils/wipefs.c +++ b/misc-utils/wipefs.c @@ -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 } -- 2.47.2