Skip to content

Commit

Permalink
libtracker-common: Use procfs psinfo instead of cmdline on Solaris
Browse files Browse the repository at this point in the history
Earlier commit 5b62dbd was missing
the correct /proc filename for Solaris.
  • Loading branch information
slowfranklin committed Aug 16, 2013
1 parent 2161c5d commit f60ce19
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libtracker-common/tracker-dbus.c
Expand Up @@ -165,7 +165,11 @@ client_data_new (gchar *sender)
filename = g_build_filename (G_DIR_SEPARATOR_S,
"proc",
pid_str,
#ifdef __sun /* Solaris */
"psinfo",
#else
"cmdline",
#endif
NULL);
g_free (pid_str);

Expand Down

0 comments on commit f60ce19

Please sign in to comment.