#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) */
#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;
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);
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
}