Changeset View
Changeset View
Standalone View
Standalone View
stand/libsa/zfs/devicename_stubs.c
Show All 26 Lines | |||||
#include <sys/cdefs.h> | #include <sys/cdefs.h> | ||||
__FBSDID("$FreeBSD$"); | __FBSDID("$FreeBSD$"); | ||||
#include <stand.h> | #include <stand.h> | ||||
#include "libzfs.h" | #include "libzfs.h" | ||||
__attribute__((weak)) | __attribute__((weak)) | ||||
int | int | ||||
zfs_parsedev(struct zfs_devdesc *dev, const char *devspec, const char **path) | zfs_parsedev(struct devdesc **dev, const char *devspec, const char **path) | ||||
{ | { | ||||
return (EINVAL); | return (EINVAL); | ||||
} | } | ||||
__attribute__((weak)) | __attribute__((weak)) | ||||
char * | char * | ||||
zfs_fmtdev(struct devdesc *vdev) | zfs_fmtdev(struct devdesc *vdev) | ||||
{ | { | ||||
static char buf[128]; | static char buf[128]; | ||||
return (buf); | return (buf); | ||||
} | } |