summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-03-16 02:58:01 +0100
committerGravatar Martin Szulecki2010-03-16 02:58:01 +0100
commit36048ded8efda588a20b5cf284670a984f7cc650 (patch)
treea6970d29fdd111e20999aaa1f545a860c8e247cf /include
parent535af4c6a44c1dcf36d2da1ef0d33c69763bd186 (diff)
downloadlibimobiledevice-36048ded8efda588a20b5cf284670a984f7cc650.tar.gz
libimobiledevice-36048ded8efda588a20b5cf284670a984f7cc650.tar.bz2
Rename afc invalid argument error to AFC_E_INVALID_ARG
All other services use *_E_INVALID_ARG instead of *_E_INVALID_ARGUMENT, thus the afc interface should use the common name.
Diffstat (limited to 'include')
-rw-r--r--include/libimobiledevice/afc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libimobiledevice/afc.h b/include/libimobiledevice/afc.h
index 790df3d..d800d19 100644
--- a/include/libimobiledevice/afc.h
+++ b/include/libimobiledevice/afc.h
@@ -37,7 +37,7 @@ extern "C" {
#define AFC_E_READ_ERROR 4
#define AFC_E_WRITE_ERROR 5
#define AFC_E_UNKNOWN_PACKET_TYPE 6
-#define AFC_E_INVALID_ARGUMENT 7
+#define AFC_E_INVALID_ARG 7
#define AFC_E_OBJECT_NOT_FOUND 8
#define AFC_E_OBJECT_IS_DIR 9
#define AFC_E_PERM_DENIED 10