mirror of
https://github.com/iustin/mt-st.git
synced 2026-01-03 02:45:16 +00:00
Re-format code via clang-format
Technically, via `make reindent` :)
This commit is contained in:
6
stinit.c
6
stinit.c
@@ -710,8 +710,7 @@ static int set_defs(devdef_tr *defs, char **fnames)
|
|||||||
op.mt_count = MT_ST_DEF_DRVBUFFER | defs->drive_buffering;
|
op.mt_count = MT_ST_DEF_DRVBUFFER | defs->drive_buffering;
|
||||||
if (ioctl(tape, MTIOCTOP, &op) != 0) {
|
if (ioctl(tape, MTIOCTOP, &op) != 0) {
|
||||||
fails++;
|
fails++;
|
||||||
fprintf(stderr, "Can't set drive buffering to %d.\n",
|
fprintf(stderr, "Can't set drive buffering to %d.\n", defs->drive_buffering);
|
||||||
defs->drive_buffering);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -720,8 +719,7 @@ static int set_defs(devdef_tr *defs, char **fnames)
|
|||||||
op.mt_count = MT_ST_SET_TIMEOUT | defs->timeout;
|
op.mt_count = MT_ST_SET_TIMEOUT | defs->timeout;
|
||||||
if (ioctl(tape, MTIOCTOP, &op) != 0) {
|
if (ioctl(tape, MTIOCTOP, &op) != 0) {
|
||||||
fails++;
|
fails++;
|
||||||
fprintf(stderr, "Can't set device timeout %d s.\n",
|
fprintf(stderr, "Can't set device timeout %d s.\n", defs->timeout);
|
||||||
defs->timeout);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user