hal: Branch 'master'

David Zeuthen david at kemper.freedesktop.org
Fri Oct 27 10:31:40 PDT 2006


 hald-runner/main.c  |    2 +-
 partutil/partutil.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
diff-tree 8ffd9707244b28a14d3756ddec8f73b0401dd1c0 (from c85e02d58d6503b494bb4c8584a7c44ac6923208)
Author: Doug Chapman <dchapman at redhat.com>
Date:   Fri Oct 27 13:31:24 2006 -0400

    fix unaligned messages (RH Bug #210079)

diff --git a/hald-runner/main.c b/hald-runner/main.c
index 18565bf..a9f366d 100644
--- a/hald-runner/main.c
+++ b/hald-runner/main.c
@@ -111,7 +111,7 @@ handle_start(DBusConnection *con, DBusMe
 	DBusMessage *reply;
 	DBusMessageIter iter;
 	run_request *r;
-	GPid pid;
+	GPid pid __attribute__ ((aligned));
 
 	r = new_run_request();
 	g_assert(dbus_message_iter_init(msg, &iter));
diff --git a/partutil/partutil.c b/partutil/partutil.c
index 3a2c87b..36078c0 100644
--- a/partutil/partutil.c
+++ b/partutil/partutil.c
@@ -491,7 +491,7 @@ static PartitionTable *
 part_table_parse_msdos (int fd, guint64 offset, guint64 size, gboolean *found_gpt)
 {
 	int n;
-	const guint8 mbr[512];
+	const guint8 mbr[512] __attribute__ ((aligned));
 	PartitionTable *p;
 
 	//HAL_INFO (("Entering MS-DOS parser"));


More information about the hal-commit mailing list