Fix typo "ioclt" in various files.
This commit is contained in:
parent
8b9d1474a4
commit
a5c523a0e7
|
@ -22,7 +22,7 @@
|
||||||
#define DEFAULT_SECTOR_SIZE 512
|
#define DEFAULT_SECTOR_SIZE 512
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
/* very basic ioclts, should be available everywhere */
|
/* very basic ioctls, should be available everywhere */
|
||||||
# ifndef BLKROSET
|
# ifndef BLKROSET
|
||||||
# define BLKROSET _IO(0x12,93) /* set device read-only (0 = read-write) */
|
# 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 BLKROGET _IO(0x12,94) /* get read-only status (0 = read_write) */
|
||||||
|
|
|
@ -45,7 +45,7 @@ enum {
|
||||||
#define LO_KEY_SIZE 32
|
#define LO_KEY_SIZE 32
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Linux LOOP_{SET,GET}_STATUS64 ioclt struct
|
* Linux LOOP_{SET,GET}_STATUS64 ioctl struct
|
||||||
*/
|
*/
|
||||||
struct loop_info64 {
|
struct loop_info64 {
|
||||||
uint64_t lo_device;
|
uint64_t lo_device;
|
||||||
|
|
|
@ -1123,7 +1123,7 @@ int main(int argc, char **argv)
|
||||||
timeout = (unsigned int)getlogindefs_num("LOGIN_TIMEOUT", LOGIN_TIMEOUT);
|
timeout = (unsigned int)getlogindefs_num("LOGIN_TIMEOUT", LOGIN_TIMEOUT);
|
||||||
|
|
||||||
signal(SIGALRM, timedout);
|
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);
|
alarm(timeout);
|
||||||
signal(SIGQUIT, SIG_IGN);
|
signal(SIGQUIT, SIG_IGN);
|
||||||
signal(SIGINT, SIG_IGN);
|
signal(SIGINT, SIG_IGN);
|
||||||
|
|
|
@ -358,7 +358,7 @@ static void rereadpt(int fd, const char *devname)
|
||||||
|
|
||||||
errno = 0;
|
errno = 0;
|
||||||
ioctl(fd, BLKRRPART);
|
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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue