Skip to content

Commit eef1fd5

Browse files
committed
spaces to tabs.
based on #69 from Henrique Brito.
1 parent 837e41c commit eef1fd5

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

sys/compat/linux/common/linux_file.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: linux_file.c,v 1.133 2024/10/01 17:46:51 riastradh Exp $ */
1+
/* $NetBSD: linux_file.c,v 1.134 2026/06/09 21:45:21 andvar Exp $ */
22

33
/*-
44
* Copyright (c) 1995, 1998, 2008 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
3535
*/
3636

3737
#include <sys/cdefs.h>
38-
__KERNEL_RCSID(0, "$NetBSD: linux_file.c,v 1.133 2024/10/01 17:46:51 riastradh Exp $");
38+
__KERNEL_RCSID(0, "$NetBSD: linux_file.c,v 1.134 2026/06/09 21:45:21 andvar Exp $");
3939

4040
#include <sys/types.h>
4141
#include <sys/param.h>
@@ -202,19 +202,19 @@ linux_open_ctty(struct lwp *l, int flags, int fd)
202202
* terminal yet, and the O_NOCTTY flag is not set, try to make
203203
* this the controlling terminal.
204204
*/
205-
if (!(flags & O_NOCTTY) && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) {
206-
file_t *fp;
205+
if (!(flags & O_NOCTTY) && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) {
206+
file_t *fp;
207207

208208
fp = fd_getfile(fd);
209209

210-
/* ignore any error, just give it a try */
211-
if (fp != NULL) {
210+
/* ignore any error, just give it a try */
211+
if (fp != NULL) {
212212
if (fp->f_type == DTYPE_VNODE) {
213213
(fp->f_ops->fo_ioctl) (fp, TIOCSCTTY, NULL);
214214
}
215215
fd_putfile(fd);
216216
}
217-
}
217+
}
218218
}
219219

220220
/*

0 commit comments

Comments
 (0)