]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsfd: remove duplicated an O_ flag entry
authorMasatake YAMATO <yamato@redhat.com>
Fri, 15 Oct 2021 20:40:17 +0000 (05:40 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Fri, 15 Oct 2021 20:40:38 +0000 (05:40 +0900)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
misc-utils/lsfd-file.c

index 9b860340dcae4af09d43846ff836e7e41f0fe3c8..ea1410e6af611a8e810f09859e71b84a91da7c00 100644 (file)
@@ -112,10 +112,6 @@ static void file_fill_flags_buf(struct ul_buffer *buf, int flags)
        SET_FLAG(NOCTTY,noctty);
 #endif
 
-#ifdef O_NOCTTY
-       SET_FLAG(NOCTTY,noctty);
-#endif
-
 #ifdef O_APPEND
        SET_FLAG(APPEND,append);
 #endif