mirror of
https://github.com/iustin/mt-st.git
synced 2025-12-23 05:45:13 +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;
|
||||
if (ioctl(tape, MTIOCTOP, &op) != 0) {
|
||||
fails++;
|
||||
fprintf(stderr, "Can't set drive buffering to %d.\n",
|
||||
defs->drive_buffering);
|
||||
fprintf(stderr, "Can't set drive buffering to %d.\n", 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;
|
||||
if (ioctl(tape, MTIOCTOP, &op) != 0) {
|
||||
fails++;
|
||||
fprintf(stderr, "Can't set device timeout %d s.\n",
|
||||
defs->timeout);
|
||||
fprintf(stderr, "Can't set device timeout %d s.\n", defs->timeout);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user