Changeset View
Changeset View
Standalone View
Standalone View
stand/libsa/zfs/devicename_stubs.c
| Show All 25 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 | |||||
| zfs_parsedev(struct devdesc **dev, const char *devspec, const char **path) | |||||
| { | |||||
| return (EINVAL); | |||||
| } | |||||
| __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); | ||||
| } | } | ||||