openbsd-ports/sysutils/gkrellm/patches/patch-src_main_c

18 lines
537 B
Plaintext
Raw Normal View History

2003-01-01 16:21:00 -05:00
$OpenBSD: patch-src_main_c,v 1.2 2003/01/01 21:21:01 naddy Exp $
--- src/main.c.orig Mon Jul 1 04:17:27 2002
+++ src/main.c Wed Jan 1 22:16:09 2003
@@ -1904,12 +1904,12 @@ main (int argc, char *argv[])
* the folowing function should be performed here just for that reason.
*/
solaris_list_harddisks();
+#endif /* __solaris__ */
if (setgid(getgid()) != 0) {
perror("Failed to drop setgid privilege");
return 1;
}
-#endif /* __solaris__ */
#ifdef ENABLE_NLS
gtk_set_locale();