mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Fix typo in pygrub code
This commit is contained in:
1 parent
6b3b33d853
commit
024fb8a600
1 file changed
+2
-2
@@ -229,8 +229,8 @@ ext2_fs_open (Ext2Fs *fs, PyObject *args, PyObject *kwargs)
|
||||
snprintf(offsetopt, 29, "offset=%d", offset);
|
||||
}
|
||||
|
||||
err = ext2fs_open2(name, offsetopt, flags, superblock, block_size,
|
||||
unix_io_manager, &efs);
|
||||
err = ext2fs_file_open2(name, offsetopt, flags, superblock, block_size,
|
||||
unix_io_manager, &efs);
|
||||
if (err) {
|
||||
PyErr_SetString(PyExc_ValueError, "unable to open file");
|
||||
return NULL;
|
||||
|
||||