forked from pool/systemd
da382a7470
- udev: Fix device matching in the accelerometer add: 1019-udev-Fix-device-matching-in-the-accelerometer.patch - keymap: add aditional support for some keyboard keys add: 1018-keymap-add-aditional-support.patch - journalctl: require argument for --priority add: journalctl-require-argument-for-priority - dropped useless patches: libudev-validate-argument-udev_enumerate_new.patch kmod-fix-builtin-typo.patch - rename udev-root-symlink.service to systemd-udev-root-symlink.service. - fix in udev package missing link in basic.target.wants for systemd-udev-root-symlink.service - udev: Fix device matching in the accelerometer add: 1019-udev-Fix-device-matching-in-the-accelerometer.patch - keymap: add aditional support for some keyboard keys add: 1018-keymap-add-aditional-support.patch - journalctl: require argument for --priority add: journalctl-require-argument-for-priority - dropped useless patches: libudev-validate-argument-udev_enumerate_new.patch kmod-fix-builtin-typo.patch - rename udev-root-symlink.service to systemd-udev-root-symlink.service. - fix in udev package missing link in basic.target.wants for systemd-udev-root-symlink.service OBS-URL: https://build.opensuse.org/request/show/150304 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=125
25 lines
1.3 KiB
Plaintext
25 lines
1.3 KiB
Plaintext
From 71c015969233c21ea38b1e63993d02fe171df672 Mon Sep 17 00:00:00 2001
|
|
From: Lekensteyn <lekensteyn@gmail.com>
|
|
Date: Thu, 15 Nov 2012 12:17:03 +0100
|
|
Subject: [PATCH] journalctl: require argument for --priority
|
|
|
|
This fixes a segfault due to a missing value for --priority. -p is
|
|
unaffected because it is specified in the getopt_long parameter list.
|
|
---
|
|
src/journal/journalctl.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: systemd-195/src/journal/journalctl.c
|
|
===================================================================
|
|
--- systemd-195.orig/src/journal/journalctl.c
|
|
+++ systemd-195/src/journal/journalctl.c
|
|
@@ -158,7 +158,7 @@ static int parse_argv(int argc, char *ar
|
|
{ "this-boot", no_argument, NULL, 'b' },
|
|
{ "directory", required_argument, NULL, 'D' },
|
|
{ "header", no_argument, NULL, ARG_HEADER },
|
|
- { "priority", no_argument, NULL, 'p' },
|
|
+ { "priority", required_argument, NULL, 'p' },
|
|
{ "setup-keys", no_argument, NULL, ARG_SETUP_KEYS },
|
|
{ "interval", required_argument, NULL, ARG_INTERVAL },
|
|
{ "verify", no_argument, NULL, ARG_VERIFY },
|