diff options
author | David Sterba <dsterba@suse.com> | 2016-03-24 19:17:53 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-03-30 16:26:33 +0200 |
commit | 41f6ae4820b7c288a6688086bd1a61687a50e3f3 (patch) | |
tree | d85cb3cee319e766cbdd8485947ba736342904c3 /utils.h | |
parent | c7f72072bd727914bceba74a31dfbb00ffdf069f (diff) |
btrfs-progs: rename __strncpy__null to __strncpy_null
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -160,7 +160,7 @@ int get_fs_info(char *path, struct btrfs_ioctl_fs_info_args *fi_args, int get_label(const char *btrfs_dev, char *label); int set_label(const char *btrfs_dev, const char *label); -char *__strncpy__null(char *dest, const char *src, size_t n); +char *__strncpy_null(char *dest, const char *src, size_t n); int is_block_device(const char *file); int is_mount_point(const char *file); int check_arg_type(const char *input); @@ -168,7 +168,7 @@ int open_path_or_dev_mnt(const char *path, DIR **dirstream, int verbose); int btrfs_open_dir(const char *path, DIR **dirstream, int verbose); u64 btrfs_device_size(int fd, struct stat *st); /* Helper to always get proper size of the destination string */ -#define strncpy_null(dest, src) __strncpy__null(dest, src, sizeof(dest)) +#define strncpy_null(dest, src) __strncpy_null(dest, src, sizeof(dest)) int test_dev_for_mkfs(const char *file, int force_overwrite); int get_label_mounted(const char *mount_path, char *labelp); int get_label_unmounted(const char *dev, char *label); |