Deleted Added
full compact
34c34
< * $FreeBSD: head/sys/security/mac_partition/mac_partition.c 112717 2003-03-27 19:26:39Z rwatson $
---
> * $FreeBSD: head/sys/security/mac_partition/mac_partition.c 116701 2003-06-23 01:26:34Z rwatson $
48a49
> #include <sys/sbuf.h>
105c106
< char *element_data, size_t size, size_t *len, int *claimed)
---
> struct sbuf *sb, int *claimed)
112,113c113,117
< *len = snprintf(element_data, size, "%ld", SLOT(label));
< return (0);
---
>
> if (sbuf_printf(sb, "%ld", SLOT(label)) == -1)
> return (EINVAL);
> else
> return (0);