freebsd-src/sbin/fsck_msdosfs
Dimitry Andric 98c3d868fb fsck_msdosfs: avoid warnings about too-long initializer strings
Mark `dot_name` and `dotdot_name` as as `__non_string`, to avoid
warnings from clang 21 similar to:

    sbin/fsck_msdosfs/dir.c:466:39: error: initializer-string for character array is too long, array size is 11 but initializer has size 12 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
      466 | static const u_char dot_name[11]    = ".          ";
          |                                       ^~~~~~~~~~~~~
    sbin/fsck_msdosfs/dir.c:467:39: error: initializer-string for character array is too long, array size is 11 but initializer has size 12 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
      467 | static const u_char dotdot_name[11] = "..         ";
          |                                       ^~~~~~~~~~~~~

MFC after:	3 days
2025-12-25 21:34:00 +01:00
..
boot.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
check.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
dir.c fsck_msdosfs: avoid warnings about too-long initializer strings 2025-12-25 21:34:00 +01:00
dosfs.h
ext.h
fat.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
fsck_msdosfs.8 msdosfs manuals: Improve visibility and linking 2025-04-17 12:39:13 -04:00
main.c fsck_msdosfs(8): Introduce -B option as no-op 2024-12-18 15:34:14 +01:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00