aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo_db.c
diff options
context:
space:
mode:
Diffstat (limited to 'pseudo_db.c')
-rw-r--r--pseudo_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudo_db.c b/pseudo_db.c
index f60f0ab..c387cb5 100644
--- a/pseudo_db.c
+++ b/pseudo_db.c
@@ -2235,7 +2235,7 @@ pdb_list_xattr(long long file_id, char **value, size_t *len) {
size_t used = 0;
char *buffer = 0;
int rc;
- char *sql = "SELECT name FROM xattrs WHERE file_id = ?;";
+ char *sql = "SELECT name FROM xattrs WHERE file_id = ? ORDER BY name;";
/* if we don't have a record of the file, it must not have
* any extended attributes...