Skip to content

Commit

Permalink
udev: fix typo for persistent flag
Browse files Browse the repository at this point in the history
The 'parsistent' adjective is misspelt.
  • Loading branch information
jiayi0118 authored and bluca committed Oct 27, 2023
1 parent 6cd1f65 commit 2b4cdac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/udev/udevadm-info.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ static void cleanup_dir_after_db_cleanup(DIR *dir, DIR *datadir) {

if (faccessat(dirfd(datadir), dent->d_name, F_OK, AT_SYMLINK_NOFOLLOW) >= 0)
/* The corresponding udev database file still exists.
* Assuming the parsistent flag is set for the database. */
* Assuming the persistent flag is set for the database. */
continue;

(void) unlinkat(dirfd(dir), dent->d_name, 0);
Expand Down

0 comments on commit 2b4cdac

Please sign in to comment.