summaryrefslogtreecommitdiff
path: root/lib/ext2fs/llseek.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1997-10-31 06:07:47 +0000
committerTheodore Ts'o <tytso@mit.edu>1997-10-31 06:07:47 +0000
commit1f0b6c1f895d189fea6999d0c07a7fee936a4baa (patch)
treeb26635ebdc8006dd5005111c42859a526e16eeb9 /lib/ext2fs/llseek.c
parent7b4e4534f9361b21d3fafdd88a58f133decee38c (diff)
downloade2fsprogs-1f0b6c1f895d189fea6999d0c07a7fee936a4baa.tar.gz
Many files:
Rename new error codes to have _ET_ in them for consistency.
Diffstat (limited to 'lib/ext2fs/llseek.c')
-rw-r--r--lib/ext2fs/llseek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext2fs/llseek.c b/lib/ext2fs/llseek.c
index 46b82e70..9829444c 100644
--- a/lib/ext2fs/llseek.c
+++ b/lib/ext2fs/llseek.c
@@ -114,7 +114,7 @@ ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, int origin)
{
if ((sizeof(off_t) < sizeof(ext2_loff_t)) &&
(offset >= ((ext2_loff_t) 1 << ((sizeof(off_t)*8) -1)))) {
- errno = EXT2_INVALID_ARGUMENT;
+ errno = EXT2_ET_INVALID_ARGUMENT;
return -1;
}
return lseek (fd, (off_t) offset, origin);