]> sourceware.org Git - lvm2.git/commit
util: add _dm_strncpy
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 4 Apr 2024 16:41:42 +0000 (18:41 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 4 Apr 2024 17:37:13 +0000 (19:37 +0200)
commit295e632e817df5372f8ca3283166c0b9b203dfad
treed4595d05b3151e7a8ee1867e507c2c5da59b69b3
parent5c0ade35e2066c940d88a38d88d7508385a2dd63
util: add _dm_strncpy

Add internal inline function wrapper for dm_strncpy().
Use it for calls where we test the result.
Avoids emitting warnings in Coverity for unchecked usage.
lib/misc/util.h
libdm/dm-tools/util.h
This page took 0.037951 seconds and 5 git commands to generate.