summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/blkdev.h2
-rw-r--r--include/loopdev.h2
-rw-r--r--login-utils/login.c2
-rw-r--r--misc-utils/wipefs.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/blkdev.h b/include/blkdev.h
index 5a5777ba3..c994795a2 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 793539935..372c187fd 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 470076f8c..ebb76f5e9 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 2c1ea5947..ad7caa597 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
}