]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/mount-util.c
tree-wide: make use of new STRLEN() macro everywhere (#7639)
[thirdparty/systemd.git] / src / basic / mount-util.c
index 455c50fc9f64a0ea45615088f8aaf6afed4bf3ed..a8947cefc2ed07cc2fdb531491b0fff25b0a46ae 100644 (file)
@@ -116,7 +116,7 @@ int name_to_handle_at_loop(
 }
 
 static int fd_fdinfo_mnt_id(int fd, const char *filename, int flags, int *mnt_id) {
-        char path[strlen("/proc/self/fdinfo/") + DECIMAL_STR_MAX(int)];
+        char path[STRLEN("/proc/self/fdinfo/") + DECIMAL_STR_MAX(int)];
         _cleanup_free_ char *fdinfo = NULL;
         _cleanup_close_ int subfd = -1;
         char *p;