summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libalpm/trans.c2
-rw-r--r--lib/libalpm/trans.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c
index b0995fe4..449d3355 100644
--- a/lib/libalpm/trans.c
+++ b/lib/libalpm/trans.c
@@ -213,7 +213,7 @@ int _alpm_trans_commit(pmtrans_t *trans, PMList **data)
break;
}
- trans->state = STATE_COMMITED;
+ trans->state = STATE_COMMITTED;
return(0);
}
diff --git a/lib/libalpm/trans.h b/lib/libalpm/trans.h
index 38c068b6..56b2e625 100644
--- a/lib/libalpm/trans.h
+++ b/lib/libalpm/trans.h
@@ -25,7 +25,7 @@ enum {
STATE_IDLE = 0,
STATE_INITIALIZED,
STATE_PREPARED,
- STATE_COMMITED
+ STATE_COMMITTED
};
#include "alpm.h"