summaryrefslogtreecommitdiff
path: root/sbin/atactl/atasmart.h
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2004-01-16 22:41:53 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2004-01-16 22:41:53 +0000
commitfea9d00aaea127482d88f0b547980c6bfd5d7eef (patch)
treee0be12b0a9ad9c1fb159919ec6da536e4fa6013a /sbin/atactl/atasmart.h
parent7bf671abba4368847dcd167aa7af2a73b0c10523 (diff)
Use __packed instead of __attribute__((packed)).
ok millert@
Diffstat (limited to 'sbin/atactl/atasmart.h')
-rw-r--r--sbin/atactl/atasmart.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/atactl/atasmart.h b/sbin/atactl/atasmart.h
index 40a1e4fc123..66dd14e28cd 100644
--- a/sbin/atactl/atasmart.h
+++ b/sbin/atactl/atasmart.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: atasmart.h,v 1.2 2002/06/15 10:59:06 gluk Exp $ */
+/* $OpenBSD: atasmart.h,v 1.3 2004/01/16 22:41:52 grange Exp $ */
/*
* Copyright (c) 2002 Alexander Yurchenko <grange@rt.mipt.ru>
@@ -48,7 +48,7 @@ struct attribute {
u_int16_t status; /* Status flags */
u_int8_t value; /* Attribute value */
u_int8_t raw[8]; /* Vendor specific */
-} __attribute__((packed));
+} __packed;
/* read data sector */
struct smart_read {