summaryrefslogtreecommitdiff
path: root/src/home/homed-operation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/home/homed-operation.h')
-rw-r--r--src/home/homed-operation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/homed-operation.h b/src/home/homed-operation.h
index 6721363b2a..004246a4e6 100644
--- a/src/home/homed-operation.h
+++ b/src/home/homed-operation.h
@@ -14,7 +14,7 @@ typedef enum OperationType {
OPERATION_DEACTIVATE_FORCE, /* enqueued on hard $HOME unplug */
OPERATION_IMMEDIATE, /* this is never enqueued, it's just a marker we immediately started executing an operation without enqueuing anything first. */
_OPERATION_MAX,
- _OPERATION_INVALID = -1,
+ _OPERATION_INVALID = -EINVAL,
} OperationType;
/* Encapsulates an operation on one or more home directories. This has two uses: